Пример #1
0
 public async Task <IActionResult> Get(Guid id)
 {
     try
     {
         return(Ok(await _repo.GetById(id)));
     }
     catch (Exception ex)
     {
         return(StatusCode(500, ex));
     }
 }