Example #1
0
 public PartnershipService(IPartnershipRepository partnershipRepo, IMapper mapper, IUserInformationRepository userInformationRepo, IUnitOfWork unitOfWork, IConversationRepository conversationRepo)
 {
     _partnershipRepo     = partnershipRepo;
     _userInformationRepo = userInformationRepo;
     _conversationRepo    = conversationRepo;
     _unitOfWork          = unitOfWork;
     _mapper = mapper;
 }
 public UserInformationService(IUserInformationRepository userInformationRepo,
                               IMapper mapper,
                               IPartnerRequestRepository partnerRequestRepo,
                               IPartnershipRepository partnershipRepo,
                               IUnitOfWork unitOfWork,
                               UserManager <ApplicationUser> userManager,
                               RoleManager <IdentityRole> roleManager)
 {
     _userInformationRepo = userInformationRepo;
     _partnerRequestRepo  = partnerRequestRepo;
     _partnershipRepo     = partnershipRepo;
     _userManager         = userManager;
     _roleManager         = roleManager;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }