public SupplierService( ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public CartController( ChocolateDbContext context, IConfiguration configuration) { _context = context; _configuration = configuration; }
//This will handle our login validation and registration of our user identity public AccountController( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ChocolateDbContext context, ICustomerService service) { _userManager = userManager; _signInManager = signInManager; _context = context; _service = service; }
public SectorDataController(ChocolateDbContext context) : base(context) { }
public ProductDataController(ChocolateDbContext context) : base(context) { }
public CandidateDataController(ChocolateDbContext context) : base(context) { }
public LeaveService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public DepartmentService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public CustomerService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public WarehouseDataController(ChocolateDbContext context) : base(context) { }
public OrderService(ChocolateDbContext context, IMapper mapper) { _mapper = mapper; _context = context; }
public PositionDataController(ChocolateDbContext context) : base(context) { }
public MeetingService(ChocolateDbContext context) { _context = context; }
public CustomerDataController(ChocolateDbContext context) : base(context) { }
public PositionService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public MeetingDataController(ChocolateDbContext context) : base(context) { }
public BaseApiController(ChocolateDbContext context) { _context = context; }
public PositionController(ChocolateDbContext context, IPositionService service) { _context = context; _service = service; }
public LeaveDataController(ChocolateDbContext context) : base(context) { }
public DiscountDataController(ChocolateDbContext context) : base(context) { }
public OrdersDataController(ChocolateDbContext context) : base(context) { }
public CartDataController(ChocolateDbContext context) { _context = context; }
public AdministrationDataController(ChocolateDbContext context) : base(context) { }
public OfferItemDataController(ChocolateDbContext context) : base(context) { }
public OfferItemService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public DiscountService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public EmployeeDataController(ChocolateDbContext context) : base(context) { }
public PurchaseDataController(ChocolateDbContext context) : base(context) { }
public Repository(ChocolateDbContext context) { _context = context; _set = _context.Set <TEntity>(); }
public WarehouseService(ChocolateDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }