public IActionResult Get(long id) { var branch = _branchesService.Find(id); if (branch == null) { return(NotFound()); } return(new ObjectResult(branch)); }