public CartController(rst374_cloud12Context context, FreightContext contextf, ISetting settings, IItem iitem) { _context = context; _contextf = contextf; _isettings = settings; _iitem = iitem; }
public DealerItemController(rst374_cloud12Context context, ISetting isettings, IItem iitem, IConfiguration config) { _context = context; _isettings = isettings; _iitem = iitem; _config = config; }
public SyncController(rst374_cloud12Context context, IConfiguration config, IItem item, ILogger <SyncController> logger) { _context = context; _config = config; _item = item; _logger = logger; }
public OrderRepository(FreightContext context, rst374_cloud12Context contextE, ISetting isettings, IConfiguration config) { _context = context; _contextE = contextE; _isettings = isettings; _config = config; }
public DealerOrderController(ILogger <DealerOrderController> logger , IItem iitem , rst374_cloud12Context context , ISetting isettings , IOrder iorder) { _logger = logger; _iitem = iitem; _context = context; _isettings = isettings; _iorder = iorder; }
private string sServiceUrl = Startup.Configuration["sServiceUrl"]; // _contextf.Settings.Where(s => s.Cat == "DPS" && s.Name == "sServiceUrl").FirstOrDefault().Value; public DpsPaymentController(ILogger <OrderController> logger , rst374_cloud12Context context , FreightContext contextf , ISetting isettings , IConfiguration config , iMailService mail) { _logger = logger; _context = context; _contextf = contextf; _isettings = isettings; _config = config; _mail = mail; }
public OrderController(ILogger <OrderController> logger, IItem iitem, rst374_cloud12Context context, ISetting isettings, IOrder iorder, IConfiguration config, iMailService mail) { _logger = logger; _iitem = iitem; _context = context; _isettings = isettings; _iorder = iorder; _config = config; _mail = mail; }
public InvoiceController(ILogger <OrderController> logger , rst374_cloud12Context context , FreightContext contextf , ISetting isetting , IOrder iorder , IConfiguration config , iMailService mail , IConverter converter ) { _logger = logger; _context = context; _iorder = iorder; _isetting = isetting; _config = config; _mail = mail; _converter = converter; }
public UserShippingController(rst374_cloud12Context context) { _context = context; }
public Seeder(rst374_cloud12Context context, FreightContext contextf) { _context = context; _contextf = contextf; }
public UserRegisterController(rst374_cloud12Context context) { _context = context; }
public ItemRepository(rst374_cloud12Context context, FreightContext contextf) { _context = context; _contextf = contextf; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, rst374_cloud12Context context) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } app.UseAuthentication(); app.UseStatusCodePages(); app.UseDefaultFiles(); app.UseHttpsRedirection(); app.UseSwagger(); app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", "eCom_Management"); }); app.UseCors(builder => builder .AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader() .AllowCredentials()); //AutoMapper.Mapper.Initialize(cfg => { // cfg.CreateMap<Models.CodeRelations, Dto.ItemDto>(); // cfg.CreateMap<Models.OrderItem, Dto.OrderItemDto>(); //}); //app.UsePathBase("/{hostId}"); app.UseMvc( //routes=> { // routes.MapRoute( // name: "default", // template: "{area:hostId}/api/{controller=sync}/{auth}/{action=getcard}/{branchId?}"); //} ); }
public DealerUserShippingController(rst374_cloud12Context context, ISetting isettings) { _context = context; _isettings = isettings; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory, rst374_cloud12Context context, Seeder seeder) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } else { // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } app.UseAuthentication(); app.UseStatusCodePages(); app.UseDefaultFiles(); app.UseHttpsRedirection(); seeder.Seeding().Wait(); app.UseSwagger(); app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", "eCom_api_rst_pro"); }); app.UseCors(builder => builder .AllowAnyOrigin() .AllowAnyMethod() .AllowAnyHeader() .AllowCredentials()); //AutoMapper.Mapper.Initialize(cfg => { // cfg.CreateMap<Models.CodeRelations, Dto.ItemDto>(); // cfg.CreateMap<Models.OrderItem, Dto.OrderItemDto>(); //}); app.UseMvc(); }
public UserLoginController(iMailService imailService, rst374_cloud12Context context) { _imailService = imailService; _context = context; }
public CategoryController(rst374_cloud12Context context, ISetting isettings) { _context = context; _isettings = isettings; }
public SettingsController(rst374_cloud12Context context) { _context = context; }
public MessageBoardController(iMailService mail, rst374_cloud12Context context, IConfiguration config) { _mail = mail; _context = context; _config = config; }
public TestRollBackController(IItem iitem, rst374_cloud12Context context) { _iitem = iitem; _context = context; }
public DealerCartController(rst374_cloud12Context context, FreightContext contextf, ISetting settings) { _context = context; _contextf = contextf; _isettings = settings; }
public DealerLoginController(iMailService imailService, rst374_cloud12Context context, ISetting isettings) { _imailService = imailService; _context = context; _isettings = isettings; }
rst374_cloud12Context _context;//= new rst374_cloud12Context(); public CategoryController(rst374_cloud12Context context) { _context = context; }
public SettingsRepository(FreightContext context, rst374_cloud12Context contextE) { _context = context; _contextE = contextE; }
public LatipayController(ILogger <OrderController> logger, rst374_cloud12Context context) { _logger = logger; _context = context; }