public async Task <IActionResult> Get(Guid id) { try { return(Ok(await _repo.GetById(id))); } catch (Exception ex) { return(StatusCode(500, ex)); } }