using LJProxy.LJLib.Net.SPI.Server; using LJProxy.Models; using LJProxy.Services; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LJProxy.Excutor { public class GetUpdateJsonExcutor : ExcutorBase { VersionService _service = new VersionService(); protected override IActionResult ExcuteInternal(GetUpdateJsonRequest request, object state) { string updateJson = _service.GetUpdateJson(); var result = new ContentResult(); result.Content = updateJson; result.ContentType = "application/json"; return result; } } }