示例#1
0
 public ActionResult GetByCommunityId(Guid communityId)
 {
     try
     {
         var staffList = _staffService.GetByCommunityId(communityId);
         var response  = _staffMapper.Map(staffList);
         return(Ok(response));
     }
     catch (Exception ex)
     {
         return(new UnknownErrorResult(ex, base._errorEnabled));
     }
 }