示例#1
0
 public HomeController(EgretContext context, IReportService reportService)
     : base(context)
 {
     //_logger = logger;
     _reportService = reportService;
     Context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
示例#2
0
 public CurrencyTypesController(EgretContext context, ILogger <CurrencyTypesController> logger)
     : base(context)
 {
     _logger = logger;
 }
示例#3
0
        //ILogger _logger;

        public ItemService(EgretContext context /*, ILogger logger*/)
            : base(context)
        {
            //_logger = logger;
        }
示例#4
0
 public UnitsController(EgretContext context, ILogger <UnitsController> logger)
     : base(context)
 {
     _logger = logger;
 }
示例#5
0
 public ConsumptionEventService(EgretContext context /*, ILogger logger*/)
     : base(context)
 {
     //_logger = logger;
 }
 public StorageLocationsController(EgretContext context, ILogger <StorageLocationsController> logger)
     : base(context)
 {
     _logger = logger;
 }
示例#7
0
 public InventoryCategoriesController(EgretContext context, ILogger <InventoryCategoriesController> logger)
     : base(context)
 {
     _logger = logger;
 }
示例#8
0
 public BaseController(EgretContext context)
 {
     Context = context;
 }
示例#9
0
 public AccessGroupsController(EgretContext context, UserManager <User> userManager)
     : base(context)
 {
     _userManager = userManager;
 }
示例#10
0
 public BaseService(EgretContext context)
 {
     Context = context;
 }