コード例 #1
0
 public NhanvienController(IUserRepository userRepository, IChinhanhRepository chinhanhRepository, IPhongbanRepository phongbanRepository)
 {
     // _context = context;
     _userRepository     = userRepository;
     _chinhanhRepository = chinhanhRepository;
     _phongbanRepository = phongbanRepository;
     sha1 = new MaHoaSHA1();
 }
コード例 #2
0
 public PhongbanController(IPhongbanRepository phongbanRepository)
 {
     _phongbanRepository = phongbanRepository;
 }