Exemple #1
0
 public ContactBusiness(IUnitOfWork _unitOfWork)
 {
     unitOfWork               = _unitOfWork;
     contactRepository        = new ContactRepository(unitOfWork);
     addressRepository        = new AddressRepository(unitOfWork);
     tagRepository            = new TagRepository(unitOfWork);
     contactTagRepository     = new ContactTagRepository(unitOfWork);
     accountcontactRepository = new AccountContactRepository(unitOfWork);
     leadContactRepository    = new LeadContactRepository(unitOfWork);
     userRepository           = new UserRepository(_unitOfWork);
 }
Exemple #2
0
 public LeadBusiness(IUnitOfWork _unitOfWork)
 {
     unitOfWork               = _unitOfWork;
     leadRepository           = new LeadRepository(unitOfWork);
     taskItemRepository       = new TaskItemRepository(unitOfWork);
     stageRepository          = new StageRepository(unitOfWork);
     leadAuditBusiness        = new LeadAuditBusiness(unitOfWork);
     accountRepository        = new AccountRespository(_unitOfWork);
     contactRepository        = new ContactRepository(_unitOfWork);
     moduleRepository         = new ModuleRepository(_unitOfWork);
     leadStatusRepository     = new LeadStatusRepository(_unitOfWork);
     fileAttachmentrepository = new FileAttachmentRepository(_unitOfWork);
     stageBusiness            = new StageBusiness(_unitOfWork);
     ratingBusiness           = new RatingBusiness(_unitOfWork);
     leadContactRepository    = new LeadContactRepository(_unitOfWork);
     accountcontactRepository = new AccountContactRepository(_unitOfWork);
     salesOrderRepository     = new SalesOrderRepository(_unitOfWork);
     tagRepository            = new TagRepository(_unitOfWork);
     leadTagRepository        = new LeadTagRepository(_unitOfWork);
 }