Example #1
0
 public delegateController(IManageRepository _manageRepository, IBomRepository _bomrepository, IPurchaseRepository _bomRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository)
 {
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     stockinService = new StockInService(_stockinrepository);
     purchaseService = new PurchaseService(_bomRepository);
 }
Example #2
0
 public mainController(IAccountRepository _accountRepository, IManageRepository _manageRepository, IPurchaseRepository _purchaseRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IBomRepository _bomrepository)
 {
     accountService = new AccountService(_accountRepository);
     purchaseService = new PurchaseService(_purchaseRepository);
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
 }
 public StockOutService(
     IUnitOfWork unitOfWork,
     IRepository <WAMS_ASSIGNNING_STOCKS> repository,
     IStockOutRepository customRepository)
 {
     _unitOfWork       = unitOfWork;
     _repository       = repository;
     _customRepository = customRepository;
 }
Example #4
0
 public StockOutService(
     IUnitOfWork unitOfWork,
     IRepository<WAMS_ASSIGNNING_STOCKS> repository,
     IStockOutRepository customRepository)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
     _customRepository = customRepository;
 }
Example #5
0
 public stockoutController(IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IPurchaseRepository _purchaseRepository)
 {
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     purchaseService = new PurchaseService(_purchaseRepository);
 }
Example #6
0
 public delegateController(IManageRepository _manageRepository, IBomRepository _bomrepository, IPurchaseRepository _bomRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository)
 {
     manageService   = new ManageService(_manageRepository);
     bomService      = new BomService(_bomrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     stockinService  = new StockInService(_stockinrepository);
     purchaseService = new PurchaseService(_bomRepository);
 }
 public RepositoryWrapper(
     FactoryManagementContext dbContext,
     IAddressRepository Address,
     ICustomerRepository Customer,
     IDepartmentRepository Department,
     IEquipmentRepository Equipment,
     IEquipmentCategoryRepository EquipmentCategory,
     IExpenseRepository Expense,
     IExpenseTypeRepository ExpenseType,
     IFactoryRepository Factory,
     IIncomeRepository Income,
     IIncomeTypeRepository IncomeType,
     IInvoiceRepository Invoice,
     IInvoiceTypeRepository InvoiceType,
     IItemRepository Item,
     IItemCategoryRepository ItemCategory,
     IItemStatusRepository ItemStatus,
     IPayableRepository Payable,
     IPaymentStatusRepository PaymentStatus,
     IPhoneRepository Phone,
     IProductionRepository Production,
     IPurchaseRepository Purchase,
     IPurchaseTypeRepository PurchaseType,
     IRecievableRepository Recievable,
     IRoleRepository Role,
     ISalesRepository Sales,
     IStaffRepository Staff,
     IStockRepository Stock,
     IStockInRepository StockIn,
     IStockOutRepository StockOut,
     ISupplierRepository Supplier,
     ITransactionRepository Transaction,
     ITransactionTypeRepository TransactionType,
     IUserAuthInfoRepository UserAuthInfo,
     IUserRoleRepository UserRole,
     IUtilService util,
     IApiResourceMappingRepository ApiResourceMappingRepository)
 {
     this.dbContext          = dbContext;
     this._Address           = Address;
     this._Customer          = Customer;
     this._Department        = Department;
     this._Equipment         = Equipment;
     this._EquipmentCategory = EquipmentCategory;
     this._Expense           = Expense;
     this._ExpenseType       = ExpenseType;
     this._Income            = Income;
     this._IncomeType        = IncomeType;
     this._Invoice           = Invoice;
     this._InvoiceType       = InvoiceType;
     this._Item            = Item;
     this._ItemCategory    = ItemCategory;
     this._ItemStatus      = ItemStatus;
     this._Payable         = Payable;
     this._PaymentStatus   = PaymentStatus;
     this._Phone           = Phone;
     this._Production      = Production;
     this._Purchase        = Purchase;
     this._PurchaseType    = PurchaseType;
     this._Recievable      = Recievable;
     this._Role            = Role;
     this._Sales           = Sales;
     this._Staff           = Staff;
     this._Stock           = Stock;
     this._StockIn         = StockIn;
     this._StockOut        = StockOut;
     this._Supplier        = Supplier;
     this._Transaction     = Transaction;
     this._TransactionType = TransactionType;
     this._UserAuthInfo    = UserAuthInfo;
     this._UserRole        = UserRole;
     this._util            = util;
     this._ApiResourceMappingRepository = ApiResourceMappingRepository;
 }
Example #8
0
 public StockOutService(IStockOutRepository stockoutRepository)
 {
     _stockoutRepository = stockoutRepository;
 }
Example #9
0
 public StockOutService(IStockOutRepository stockoutRepository)
 {
     _stockoutRepository = stockoutRepository;
 }
Example #10
0
 public mainController(IAccountRepository _accountRepository, IManageRepository _manageRepository, IPurchaseRepository _purchaseRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IBomRepository _bomrepository)
 {
     accountService  = new AccountService(_accountRepository);
     purchaseService = new PurchaseService(_purchaseRepository);
     stockinService  = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     manageService   = new ManageService(_manageRepository);
     bomService      = new BomService(_bomrepository);
 }
 public StockOutService(IStockOutRepository StockOutRepository)
     : base(StockOutRepository)
 {
 }