Beispiel #1
0
 public frm_Main(IUsersService _usersService, Iunitofwork _iunitofwork)
 {
     this.usersService = _usersService;
     this.iunitofwork  = _iunitofwork;
     Bootstrap();
     InitializeComponent();
 }
Beispiel #2
0
 public frm_AddEdit(IUsersService _usersService, Iunitofwork _iunitofwork)
 {
     this.usersService = _usersService;
     this.iunitofwork  = _iunitofwork;
     InitializeComponent();
 }
Beispiel #3
0
 public UserServices(Iunitofwork unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _Users      = unitOfWork.Set <TblUsers>();
 }
Beispiel #4
0
 public HrService(Iunitofwork Unitofwork, IMapper mapper)
 {
     this.Unitofwork = Unitofwork;
     _mapper         = mapper;
     ;
 }
Beispiel #5
0
 public StudentService(Iunitofwork Unitofwork)
 {
     this.Unitofwork = Unitofwork;
 }