public ActionResult GetByUnitId(Guid unitId) { try { var staffList = _staffService.GetByUnitId(unitId); var response = _staffMapper.Map(staffList); return(Ok(response)); } catch (Exception ex) { return(new UnknownErrorResult(ex, base._errorEnabled)); } }