public SchedulesController(
     ISchedulesService schedulesService, UserManager <ApplicationUser> userManager, IScheduleDaysService scheduleDaysService)
 {
     this.schedulesService    = schedulesService;
     this.userManager         = userManager;
     this.scheduleDaysService = scheduleDaysService;
 }
Пример #2
0
 public MyConferencesViewModel(ISettingsService settingsService, ISchedulesService schedulesService)
 {
     _schedulesService         = schedulesService;
     _settingsService          = settingsService;
     _myConferences            = new ObservableCollection <Conference> ();
     this.LoadSchedulesCommand = new RelayCommand(async() => await this.LoadSchedules(Priority.UserInitiated), CanLoadSchedules);
 }
Пример #3
0
        public MyConferencesViewModel (ISettingsService settingsService, ISchedulesService schedulesService)
		{
			_schedulesService = schedulesService;
			_settingsService = settingsService;
			_myConferences = new ObservableCollection<Conference> ();
			this.LoadSchedulesCommand = new RelayCommand(async () => await this.LoadSchedules(Priority.UserInitiated), CanLoadSchedules);
        }
        public WeeklySchedulesPageViewModel(ISchedulesService schedulesService, IDialogHost dialogHost)
        {
            _schedulesService = schedulesService;
            _dialogHost       = dialogHost;


            WeeklySchedules = new ObservableCollection <WeeklySchedule>(_schedulesService.Get());
        }
 public DashboardController(
     IApplicationUserService applicationUserService, ISchedulesService schedulesService, ICompaniesService companiesService, ISectionsService sectionsService, ITeamsService teamsService)
 {
     this.applicationUserService = applicationUserService;
     this.schedulesService       = schedulesService;
     this.companiesService       = companiesService;
     this.sectionsService        = sectionsService;
     this.teamsService           = teamsService;
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="carService">сервис работы с автомобилями</param>
 /// <param name="driverService">сервис работы с водителями</param>
 /// <param name="schedulesService">сервис работы с графиком работ</param>
 public SchedulesController(
     ICarService carService,
     IDriverService driverService,
     ISchedulesService schedulesService
     )
 {
     this._carService       = carService;
     this._driverService    = driverService;
     this._schedulesService = schedulesService;
 }
Пример #7
0
		public ConferenceDetailViewModel (Conference conference, ISchedulesService schedulesService, ISettingsService settingsService)
		{
			Conference = conference;
			_schedulesService = schedulesService;
			_settingsService = settingsService;

			Name = conference.Name;
			Description = conference.Description;
			StartDate = conference.StartDate.Value;
			EndDate = conference.EndDate;

			this.AddToScheduleCommand = new RelayCommand(async () => await this.AddToSchedule(Priority.UserInitiated), CanAddToSchedule);
            this.RemoveFromScheduleCommand = new RelayCommand(async () => await this.RemoveFromSchedule(Priority.UserInitiated), CanRemoveFromSchedule);
        }
Пример #8
0
        public ConferenceDetailViewModel(Conference conference, ISchedulesService schedulesService, ISettingsService settingsService)
        {
            Conference        = conference;
            _schedulesService = schedulesService;
            _settingsService  = settingsService;

            Name        = conference.Name;
            Description = conference.Description;
            StartDate   = conference.StartDate.Value;
            EndDate     = conference.EndDate;

            this.AddToScheduleCommand      = new RelayCommand(async() => await this.AddToSchedule(Priority.UserInitiated), CanAddToSchedule);
            this.RemoveFromScheduleCommand = new RelayCommand(async() => await this.RemoveFromSchedule(Priority.UserInitiated), CanRemoveFromSchedule);
        }
 /// <summary>
 /// Конструктор с внедрением зависимости
 /// </summary>
 /// <param name="schedulesService">Сервис для работы c графиком работ</param>
 public SchedulesApiController(ISchedulesService schedulesService)
 {
     this.schedulesService = schedulesService;
 }
Пример #10
0
 /// <summary>
 /// Создать Api с переданными сервисами.
 /// </summary>
 /// <param name="facultiesService"></param>
 /// <param name="schedulesService"></param>
 public Api(IFacultiesService facultiesService, ISchedulesService schedulesService)
 {
     _facultiesService = facultiesService;
     _schedulesService = schedulesService;
 }
Пример #11
0
 public SchedulesController(ISchedulesService schedulesService, IMapper mapper)
 {
     _schedulesService = schedulesService;
     _mapper           = mapper;
 }
Пример #12
0
 public ScheduleController(IEmployeesService EmployeeService, UserManager <ApplicationUser> userManager, ISchedulesService scheduleManager)
 {
     _employeeService = EmployeeService;
     _userManager     = userManager;
     _scheduleManager = scheduleManager;
 }
Пример #13
0
 public ConferencesService(IApiService apiService, ISchedulesService schedulesService)
 {
     _apiService       = apiService;
     _schedulesService = schedulesService;
 }
Пример #14
0
	    public ConferencesService(IApiService apiService, ISchedulesService schedulesService)
	    {
	        _apiService = apiService;
	        _schedulesService = schedulesService;
	    }
Пример #15
0
 public SchedulesController(ISchedulesService SchedulesService)
 {
     _schedulesService = SchedulesService;
 }