async Task <List <PartnerModel> > IPartnerManager.GetAllAsync() { var partners = await _partnerRepository.GetAllAsync(); foreach (var partner in partners) { partner.OfferedServices = await _categoryRepository.GetCategoriesByUserIdAsync(partner.Id); } return(partners); }