Exemple #1
0
 public TaiKhoanController(UserManager <NguoiDungEntity> quanlyTaiKhoan, SignInManager <NguoiDungEntity> quanlyDangNhap, RoleManager <IdentityRole> quanlyQuyen,
                           IPasswordHasher <NguoiDungEntity> makhoaMatKhau, ILogger <TaiKhoanController> logger, IConfiguration configurationRoot, LapTopStoreContext ketnoi)
 {
     _quanlyTaiKhoan    = quanlyTaiKhoan;
     _quanlyDangNhap    = quanlyDangNhap;
     _quanlyQuyen       = quanlyQuyen;
     _makhoaMatKhau     = makhoaMatKhau;
     _logger            = logger;
     _configurationRoot = configurationRoot;
     ketnoidatabase     = ketnoi;
 }
Exemple #2
0
 public OrdersController(LapTopStoreContext ketnoi)
 {
     ketnoidatabase = ketnoi;
 }
Exemple #3
0
 public KhachHangController(LapTopStoreContext ketnoi)
 {
     ketnoidatabase = ketnoi;
 }
 public CategoriesController(LapTopStoreContext ketnoi)
 {
     ketnoidatabase = ketnoi;
 }
 public ChiTietDonHangController(LapTopStoreContext ketnoi)
 {
     ketnoidatabase = ketnoi;
 }
 public SanPhamController(LapTopStoreContext ketnoi)
 {
     ketnoidatabase = ketnoi;
 }