public ActionResult GetByCommunityId(Guid communityId) { try { var vendorList = _vendorService.GetByCommunityId(communityId); var response = _vendorMapper.Map(vendorList); return(Ok(response)); } catch (Exception ex) { return(new UnknownErrorResult(ex, base._errorEnabled)); } }