예제 #1
0
 public CRMPotentialsController(ICRMLeadRepository crmLeadRepository,
                                ICRMPotentialRepository crmPotentialRepository,
                                ICRMPotentialActivityRepository crmPotentialActivityRepository,
                                ICRMSalesStageRepository crmSalesStageRepository,
                                ICRMPotentialCategoryRepository crmPotentialCategoryRepository,
                                ICRMContactRepository crmContactRepository,
                                IUserRepository userRepository,
                                IUnitOfWork unitOfWork,
                                ICRMPotentialService crmPotentialService)
 {
     _crmLeadRepository              = crmLeadRepository;
     _crmPotentialRepository         = crmPotentialRepository;
     _crmPotentialActivityRepository = crmPotentialActivityRepository;
     _crmSalesStageRepository        = crmSalesStageRepository;
     _crmPotentialCategoryRepository = crmPotentialCategoryRepository;
     _crmContactRepository           = crmContactRepository;
     _userRepository      = userRepository;
     _unitOfWork          = unitOfWork;
     _crmPotentialService = crmPotentialService;
 }
 public CRMPotentialCategoriesController(ICRMPotentialCategoryRepository crmPotentialCategoryRepository,
                                         IUnitOfWork unitOfWork)
 {
     _crmPotentialCategoryRepository = crmPotentialCategoryRepository;
     _unitOfWork = unitOfWork;
 }