public SalesRecordsController(SalesRecordService s) { _salesRecordService = s; }
public SalesRecordController(SalesRecordService salesRecordService) { _salesRecordService = salesRecordService; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, SeedingService seedingService, SalesRecordService salesRecordService) { var enUs = new CultureInfo("en-Us"); var localizationOptions = new RequestLocalizationOptions { DefaultRequestCulture = new RequestCulture(enUs), SupportedCultures = new List <CultureInfo> { enUs }, SupportedUICultures = new List <CultureInfo> { enUs } }; if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); seedingService.Seed(); } else { app.UseExceptionHandler("/Home/Error"); app.UseHsts(); } app.UseRequestLocalization(localizationOptions); app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseCookiePolicy(); app.UseMvc(routes => { routes.MapRoute( name: "default", template: "{controller=Home}/{action=Index}/{id?}"); }); }
public SalesRecordsController(SalesRecordService salesRecordService, SellerService sellerService) { _salesRecordService = salesRecordService; _sellerService = sellerService; }
public SalesRecordsController(SalesRecordService salesRecordService) { this._salesRecordService = salesRecordService; }
public SalesRecordsController(SalesRecordService recordService) { _recordService = recordService; }
public SalesRecordsController(SalesRecordService service) => _service = service;
public SalesRecordsController(SalesRecordService services) { service = services; }
// construtor public SellersController(SellersService sellerService, DepartmentService departmentService, SalesRecordService salesRecordService) { _sellerService = sellerService; _departmentService = departmentService; _salesRecordService = salesRecordService; }
public SalesRecordsController(SalesRecordService SalesRecordsService) { _SalesRecordsService = SalesRecordsService; }
public SalesRecordsController(SalesRecordService salesRecord) { _salesRecord = salesRecord; }
public SalesRecordsController(SalesContext context, SalesRecordService salesRecordService, SellerService sellerService) { _context = context; _salesRecordService = salesRecordService; _sellerService = sellerService; }
public SalesRecordsController(SalesRecordService salesRecordsServices) { this.salesRecordsServices = salesRecordsServices; }
public SalesRecordsController(SalesRecordService srservice) { _srservice = srservice; }
public SalesRecordsController(SalesRecordService recordServices) { _recordServices = recordServices; }