public virtual async Task <IActionResult> Get(int id) { if (CanGet()) { var returnMe = _domain.Get(id); if (returnMe == null) { return(NotFound()); } return(Ok(returnMe)); } else { return(Forbid()); } }