public ActionResult <Case> Get(Guid id) { var item = _caseService.AsQueryable() .Where(x => x.Id == id) .FirstOrDefault(); if (item is null) { return(NoContent()); } return(Ok(item)); }