public void Regex() { this.Json( ImgAzyobuziNetService.GetResolvers() .ConvertAll(x => new { name = x.ServiceName, regex = x.Pattern })); }
public IActionResult Services() { return(JilJsonResult.Create(ImgAzyobuziNetService.GetResolvers() .ConvertAll(x => new { id = x.ServiceId, name = x.ServiceName, pattern = x.Pattern }))); }