Exemple #1
0
        public CompanyControllerTest()
        {
            _companyService = Substitute.For <ICompanyService>();
            _debitService   = Substitute.For <IDebitService>();
            _invoiceService = Substitute.For <IInvoiceService>();

            _controller = new CompanyController(_companyService, _debitService, _invoiceService);
        }
        public DebitServiceTest()
        {
            _debitService      = Substitute.For <IDebitService>();
            _debitRepository   = Substitute.For <IDebitRepository>();
            _companyRepository = Substitute.For <ICompanyRepository>();

            _debitService = new DebitService(_debitRepository, _companyRepository);
        }
 public DebitController(IDebitService _service, IEmployeeService _employeeservice)
 {
     service         = _service;
     employeeservice = _employeeservice;
 }
 public DebitsController(IDebitService debitService)
 {
     this.debitService = debitService;
 }
 public DebitsController(IDebitService _service)
 {
     service = _service;
 }
 public DebitManageController(IDebitActivityService debitActivityService, ICustomerDebitService customerDebitService, IDebitService debitService)
 {
     _debitActivityService = debitActivityService;
     _customerDebitService = customerDebitService;
     _debitService         = debitService;
 }
Exemple #7
0
 public DebitTypeController(IDebitService debitService)
 {
     _debitService = debitService;
 }
Exemple #8
0
 public CompanyController(ICompanyService companyService, IDebitService debitService, IInvoiceService invoiceService)
 {
     _companyService = companyService;
     _debitService   = debitService;
     _invoiceService = invoiceService;
 }
 public DebitController(IDebitService debitService)
     : base()
 {
     this.debitService = debitService;
 }