Exemplo n.º 1
0
 public HomeController(ISalesInvoiceService salesInvoiceService, IProductService productService,
                       IProductReceiveService productReceiveService, IProductTransferService productTransferService,
                       IBranchService branchService)
 {
     _salesInvoiceService    = salesInvoiceService;
     _productService         = productService;
     _productReceiveService  = productReceiveService;
     _productTransferService = productTransferService;
     _branchService          = branchService;
 }
Exemplo n.º 2
0
        public ProductTransfersController(IProductTransferService productTransferService,
                                          IBranchService branchService, IProductService productService)
        {
            _productTransferService = productTransferService;
            _branchService          = branchService;
            _productService         = productService;

            MyIdentityDbContext db = new MyIdentityDbContext();

            UserStore <MyIdentityUser> userStore = new UserStore <MyIdentityUser>(db);

            userManager = new UserManager <MyIdentityUser>(userStore);

            RoleStore <MyIdentityRole> roleStore = new RoleStore <MyIdentityRole>(db);

            roleManager = new RoleManager <MyIdentityRole>(roleStore);
        }
 public ProductTransfersController(IProductTransferService productTransferService, IProductTransferViewModelSelectListBuilder productTransferViewModelSelectListBuilder)
     : base(productTransferService, productTransferViewModelSelectListBuilder)
 {
 }
Exemplo n.º 4
0
 public ProductTransfersApiController(IProductTransferService productTransferService, IProductTransferViewModelSelectListBuilder productTransferViewModelSelectListBuilder, ITransferOrderAPIRepository transferOrderAPIRepository, IWarehouseTransferAPIRepository warehouseTransferAPIRepository)
     : base(productTransferService, productTransferViewModelSelectListBuilder, transferOrderAPIRepository, warehouseTransferAPIRepository)
 {
 }