public async Task <DefaultDataResponse> GetByFilter(PartnerFilteredRequest request) { //var validator = new PartnerFilteredRequestValidator(); var result = await partnerRepository.GetByFilter(request); return(SuccessResponse(result)); }
public async Task <DefaultDataResponse> GetByFilter(PartnerFilteredRequest request) { //var validator = new PartnerFilteredRequestValidator(); var result = await partnerRepository.GetByFilter(request); foreach (var item in result.Items) { //item.Contacts.Add(); } return(SuccessResponse(result)); }