Exemplo n.º 1
0
 public AdminController(UserManager <ApplicationUser> userManager,
                        RoleManager <IdentityRole> roleManager, IAccomRepo accomRepo, ITypeRepo typeRepo, IOrderRepo orderRepo)
 {
     _userManager = userManager;
     _roleManager = roleManager;
     _accomRepo   = accomRepo;
     _typeRepo    = typeRepo;
     _orderRepo   = orderRepo;
 }
Exemplo n.º 2
0
        public UnitOfWork(DbContext context)
        {
            this.Context = context;

            product      = new ProductRepo(context);
            type         = new TypeRepo(context);
            typeopt      = new TypeOptRepo(context);
            typespec     = new TypeSpecRepo(context);
            manufacturer = new ManufacturerRepo(context);
        }
Exemplo n.º 3
0
 public TypeAccomMenu(ITypeRepo typeRepo)
 {
     _typeRepo = typeRepo;
 }
Exemplo n.º 4
0
 public AccomController(IAccomRepo accomRepo, ITypeRepo typeRepo)
 {
     _accomRepo = accomRepo;
     _typeRepo  = typeRepo;
 }
 public AccomManagementController(IAccomRepo accomRepo, ITypeRepo typeRepo)
 {
     _accomRepo = accomRepo;
     _typeRepo  = typeRepo;
 }