public TaskItemBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; taskRepository = new TaskItemRepository(unitOfWork); taskStatusRepository = new TaskStatusRepository(unitOfWork); contactRepository = new ContactRepository(unitOfWork); leadRepository = new LeadRepository(unitOfWork); accountRepository = new AccountRespository(unitOfWork); }
public PhaxioClient(string key, string secret, IRestClient restClient) : base(key, secret, new RestClient()) { // Initialize the rest client client = restClient; client.BaseUrl = new Uri(phaxioApiEndpoint); Fax = new FaxRepository(this); Public = new PublicRepository(this); PhoneNumber = new PhoneNumberRepository(this); PhaxCode = new PhaxCodeRepository(this); Account = new AccountRespository(this); }
public AccountBusiness(IUnitOfWork _unitOfWork) { unitOfWork = _unitOfWork; accountRepository = new AccountRespository(unitOfWork); accountTypeRepository = new AccountTypeRespository(unitOfWork); tagRepository = new TagRepository(unitOfWork); accountTagRepository = new AccountTagRepository(unitOfWork); taskItemRepository = new TaskItemRepository(unitOfWork); contactRepository = new ContactRepository(unitOfWork); fileAttachmentRepository = new FileAttachmentRepository(unitOfWork); salesOrderRepository = new SalesOrderRepository(unitOfWork); accountCaseRepository = new AccountCaseRepository(unitOfWork); }
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); }
public TransactionController(appbankContext context, AccountRespository accountRespository, TransactionRespository transactionRespository) { this._context = context; this.accountRespository = accountRespository; this.transactionRespository = transactionRespository; }
public HomeController(appbankContext context, AccountRespository accountRespository, UserResponsitory userResponsitory) { this._context = context; this.accountRespository = accountRespository; this.UserResponsitory = userResponsitory; }