示例#1
0
 public HoaDonServices()
 {
     _hoadonrepository = new IRepository <HoaDon>();
     lichSuServices    = new LichSuServices();
     userServices      = new UserServices();
     khachHangServices = new KhachHangServices();
 }
示例#2
0
 public UuDaiServices()
 {
     khachHangServices = new KhachHangServices();
     _uudaiRepository  = new IRepository <UuDai>();
     userServices      = new UserServices();
     lichSuServices    = new LichSuServices();
 }
示例#3
0
 public KhachHangServices()
 {
     _loaikhachhangrepository = new IRepository <LoaiKhachHang>();
     _khachhangrepository     = new IRepository <KhachHang>();
     userServices             = new UserServices();
     lichSuServices           = new LichSuServices();
     loaiKHServices           = new LoaiKHServices();
 }
示例#4
0
 public UserServices()
 {
     _userRepository      = new IdentityRepository <ApplicationUser>();
     lichSuServices       = new LichSuServices();
     _imageServices       = new ImageServices();
     _nhanvienRepository  = new IRepository <NhanViens>();
     _userRoleRepository  = new IdentityRepository <IdentityUserRole>();
     _khachhangRepository = new IRepository <KhachHang>();
     //UserManager = new ApplicationUserManager();
 }
示例#5
0
 public DonHangServices()
 {
     _noServices          = new NoServices();
     _hoaDonServices      = new HoaDonServices();
     _donhangRepository   = new IRepository <DonHang>();
     userServices         = new UserServices();
     nhanVienServices     = new NhanVienServices();
     lichSuServices       = new LichSuServices();
     kienHangServices     = new KienHangServices();
     _hoadonRepository    = new IRepository <HoaDon>();
     _kienhangRepository  = new IRepository <KienHang>();
     _khachhangRepository = new IRepository <KhachHang>();
     _reportRepository    = new IRepository <Report>();
     _nhanvienRepository  = new IRepository <NhanViens>();
 }
示例#6
0
 public RoleServices()
 {
     _roleRepository = new IdentityRepository <IdentityRole>();
     lichSuServices  = new LichSuServices();
     userServices    = new UserServices();
 }
示例#7
0
 public NoServices()
 {
     _noRepository  = new IRepository <No>();
     lichSuServices = new LichSuServices();
     _userServices  = new UserServices();
 }
示例#8
0
 //private UserServices _userServices;
 public ImageServices()
 {
     _imageRepository = new IRepository <Image>();
     lichSuServices   = new LichSuServices();
     //_userServices = new UserServices();
 }
示例#9
0
 public NhanVienServices()
 {
     _repositoryNhanVien = new IRepository <NhanViens>();
     userServices        = new UserServices();
     lichSuServices      = new LichSuServices();
 }
示例#10
0
 public BangGiaServices()
 {
     _banggiarepository = new IRepository <BangGia>();
     lichSuServices     = new LichSuServices();
 }