示例#1
0
 public ExcelController(
     NoteService note,
     NoteDetailService noteDetail,
     ProductService product,
     WarehouseService warehouse)
 {
     _warehouse  = warehouse;
     _noteDetail = noteDetail;
     _note       = note;
     _product    = product;
     db          = new InventoryContext();
 }
示例#2
0
 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();
 }
示例#3
0
 public NoteDetailController(NoteDetailService noteDetail, IUnitOfWorkManager unitOfWorkManager)
 {
     _noteDetail        = noteDetail;
     _unitOfWorkManager = unitOfWorkManager;
 }