Пример #1
0
 public async Task <IActionResult> GetDataItems(int id)
 {
     try
     {
         return(Ok(await _templatesService.GetFields(id)));
     }
     catch (Exception)
     {
         return(Unauthorized());
     }
 }