public async Task <IActionResult> GetDataItems(int id) { try { return(Ok(await _templatesService.GetFields(id))); } catch (Exception) { return(Unauthorized()); } }
public async Task <IActionResult> GetDataItems(int id) { try { return(Ok(await _templatesService.GetFields(id))); } catch (Exception) { return(Unauthorized()); } }