예제 #1
0
 public VehicleRepository(ShowroomContext context) : base(context)
 {
     _context = context;
 }
예제 #2
0
 public DirectorController(ShowroomContext context)
 {
     db = context;
 }
 public SysAdminController(ShowroomContext context)
 {
     db = context;
 }
예제 #4
0
 public AuthController(ShowroomContext context)
 {
     db = context;
 }
 public AccountantController(ShowroomContext context)
 {
     db = context;
 }
예제 #6
0
 public UserService(ShowroomContext ctx, IPasswordHasher <User> passwordHasher, IMapper mapper) : base(ctx)
 {
     _ctx            = ctx;
     _passwordHasher = passwordHasher;
 }
예제 #7
0
 public HomeController(ShowroomContext _db)
 {
     db = _db;
 }
 public SalesManagerController(ShowroomContext context)
 {
     db = context;
 }
 public PurchaseManagerController(ShowroomContext context)
 {
     this.context = context;
 }