Exemple #1
0
 public IActionResult GetAll()
 {
     return(Ok(_mapper.Map <IEnumerable <Responses.BranchOffice> >(_branchOfficeService.GetList(UserGroups)).OrderBy(bo => bo.Id < 0 ? 0 : 1).ThenBy(bo => bo.Name)));
 }