Пример #1
0
 public VacationsMovementController(IAttorneyRepository _attorneysRepo, IVacationsMovementRepository _vacationsMovementRepo,
                                    IVacationsRequestRepository vacationsRequestRepository)
 {
     this._attorneysRepo         = _attorneysRepo;
     this._vacationsMovementRepo = _vacationsMovementRepo;
     this._vacationsRequestRepo  = vacationsRequestRepository;
 }
Пример #2
0
 public EFVacationsMovementRepository(ApplicationDbContext ctx,
                                      IVacationsRequestRepository vacationsRequestRepository,
                                      IMailSender mailer)
 {
     this.context = ctx;
     this._vacationsRequestRepo = vacationsRequestRepository;
     _mailer = mailer;
 }
Пример #3
0
 public VacationsRequestController(IAttorneyRepository _attorneysRepo, IVacationsRequestRepository _vacationsRequestRepo)
 {
     this._attorneysRepo        = _attorneysRepo;
     this._vacationsRequestRepo = _vacationsRequestRepo;
 }
Пример #4
0
 public HomeController(IActivityRepository _activityRepo, IAttorneyRepository _attorneyRepo, IVacationsRequestRepository vacationsRequestRepository)
 {
     this._activityRepo = _activityRepo;
     this._attorneyRepo = _attorneyRepo;
     this._vacationsRequestRepository = vacationsRequestRepository;
 }