コード例 #1
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();
 }
コード例 #2
0
 public DebtNoteController(DebtNoteService debtNote, IUnitOfWorkManager unitOfWorkManager)
 {
     _debtNote          = debtNote;
     _unitOfWorkManager = unitOfWorkManager;
 }