public ExcelController( NoteService note, NoteDetailService noteDetail, ProductService product, WarehouseService warehouse) { _warehouse = warehouse; _noteDetail = noteDetail; _note = note; _product = product; db = new InventoryContext(); }
public JsonController( NoteService note, NoteDetailService noteDetail, DebtNoteService debtNote, ProductService product, WarehouseService warehouse, IRepository <ApplicationUser> userRepository) { userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(db)); _userRepository = userRepository; _note = note; _notedetail = noteDetail; _warehouse = warehouse; _debtnote = debtNote; _product = product; db = new InventoryContext(); }
public NoteDetailController(NoteDetailService noteDetail, IUnitOfWorkManager unitOfWorkManager) { _noteDetail = noteDetail; _unitOfWorkManager = unitOfWorkManager; }