Exemplo n.º 1
0
 public DBInitialize(VroomDbContext db,
                     UserManager <IdentityUser> userManager,
                     RoleManager <IdentityRole> roleManager)
 {
     _db          = db;
     _userManager = userManager;
     _roleManager = roleManager;
 }
Exemplo n.º 2
0
 public ModelController(VroomDbContext vroomDb)
 {
     _vroomDb = vroomDb;
     ModelVM  = new ModelViewModel()
     {
         Makes = _vroomDb.Makes.ToList(),
         Model = new Models.Model()
     };
 }
 public ModelController(VroomDbContext db)
 {
     _db     = db;
     ModelVM = new ModelViewModel()
     {
         Makes = _db.Makes.ToList(),
         Model = new Models.Model()
     };
 }
Exemplo n.º 4
0
 public LoanUserController(VroomDbContext db, HostingEnvironment hostingenvironment, ILaonServiceemployee <Loanusers> loanServiceemployee)
 {
     _db = db;
     _hostingenvironment  = hostingenvironment;
     _loanServiceemployee = loanServiceemployee;
     Luvm = new LoanuserViewModels()
     {
         lu = new Models.Loanusers()
     };
 }
Exemplo n.º 5
0
 public ModelController(VroomDbContext db, IMapper mapper)
 {
     _db     = db;
     _mapper = mapper;
     ModelVM = new ModelViewModel()
     {
         Makes = _db.Makes.ToList(),
         Model = new Models.Model()
     };
 }
Exemplo n.º 6
0
 public ModelController(VroomDbContext _context, ModelViewModel ModelVm, ILogger <ModelController> logger, IMapper _mapper)
 {
     this._context = _context;
     this.ModelVm  = new ModelViewModel()
     {
         Makes = _context.Make.ToList(),
         Model = new Models.Model()
     };
     this._logger = logger;
     this._mapper = _mapper;
 }
Exemplo n.º 7
0
 public BikeController(VroomDbContext db, HostingEnvironment hostingenvironment)
 {
     _db = db;
     _hostingenvironment = hostingenvironment;
     BikeVM = new BikeViewModel()
     {
         Makes  = _db.makes.ToList(),
         Models = _db.models.ToList(),
         Bike   = new Models.Bike()
     };
 }
 public BikeController(VroomDbContext db, IWebHostEnvironment hostEnvironment)
 {
     _db = db;
     this._hostEnvironment = hostEnvironment;
     BikeVM = new BikeViewModel()
     {
         Makes  = _db.Makes.ToList(),
         Models = _db.Models.ToList(),
         Bike   = new Models.Bike()
     };
 }
Exemplo n.º 9
0
 public BikeController(VroomDbContext context, IWebHostEnvironment hostingEnvironment)
 {
     _db = context;
     _hostingEnvironment = hostingEnvironment;
     BikeViewModel       = new BikeViewModel()
     {
         Makes  = _db.Makes.ToList(),
         Models = _db.Models.ToList(),
         Bike   = new Models.Bike()
     };
 }
Exemplo n.º 10
0
 public BikeController(VroomDbContext _context, ILogger <BikeController> _logger, HostingEnvironment hostingEnvironment)
 {
     this._context = _context;
     this._logger  = _logger;
     BikeVM        = new BikeViewModel()
     {
         Makes   = _context.Make.ToList(),
         Models  = _context.Models.ToList(),
         BikeApp = new Models.Bike()
     };
     hostingEnvironment = hostingEnvironment;
 }
Exemplo n.º 11
0
 public void DbIntializer(VroomDbContext _context, UserManager <IdentityUser> _userManger, RoleManager <IdentityRole> roleManager)
 {
     _context    = _context;
     _userManger = _userManger;
     roleManager = roleManager;
 }
Exemplo n.º 12
0
 public MakeController(VroomDbContext context)
 {
     _db = context;
 }
Exemplo n.º 13
0
 public DBInitializer(VroomDbContext context, UserManager <IdentityUser> userManager, RoleManager <IdentityRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }
Exemplo n.º 14
0
 public AdminController(VroomDbContext db, UserManager <IdentityUser> userManager)
 {
     _db          = db;
     _userManager = userManager;
 }
 public ProfitandLossdetailsRepository(VroomDbContext db)
 {
     _db = db;
 }
 public StockDetailsRepository(VroomDbContext db)
 {
     _db = db;
 }
 public ProfitAndLossDetailsController(VroomDbContext db, HostingEnvironment hostingenvironment, IprofitandLossdetailsRepository <InvestmentpayoutDetailsViewModel> iprofitloss)
 {
     _db = db;
     _hostingenvironment = hostingenvironment;
     _iprofitloss        = iprofitloss;
 }
Exemplo n.º 18
0
 public MakeController(VroomDbContext db)
 {
     _db = db;
 }
Exemplo n.º 19
0
 public MakeController(VroomDbContext _context)
 {
     this._context = _context;
 }
 public LoanServiceEmployee(VroomDbContext db)
 {
     _db = db;
 }
 public StockDetailsController(VroomDbContext db, HostingEnvironment hostingenvironment, IstockdetailsRepository <MasterStockViewModel> stockdetails)
 {
     _db = db;
     _hostingenvironment = hostingenvironment;
     _stockdetails       = stockdetails;
 }