public SchedulesController(
     ISchedulesService schedulesService, UserManager <ApplicationUser> userManager, IScheduleDaysService scheduleDaysService)
 {
     this.schedulesService    = schedulesService;
     this.userManager         = userManager;
     this.scheduleDaysService = scheduleDaysService;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Создать Api с переданными сервисами.
 /// </summary>
 /// <param name="facultiesService"></param>
 /// <param name="schedulesService"></param>
 public Api(IFacultiesService facultiesService, ISchedulesService schedulesService)
 {
     _facultiesService = facultiesService;
     _schedulesService = schedulesService;
 }
Ejemplo n.º 11
0
 public SchedulesController(ISchedulesService schedulesService, IMapper mapper)
 {
     _schedulesService = schedulesService;
     _mapper           = mapper;
 }
Ejemplo n.º 12
0
 public ScheduleController(IEmployeesService EmployeeService, UserManager <ApplicationUser> userManager, ISchedulesService scheduleManager)
 {
     _employeeService = EmployeeService;
     _userManager     = userManager;
     _scheduleManager = scheduleManager;
 }
Ejemplo n.º 13
0
 public ConferencesService(IApiService apiService, ISchedulesService schedulesService)
 {
     _apiService       = apiService;
     _schedulesService = schedulesService;
 }
Ejemplo n.º 14
0
	    public ConferencesService(IApiService apiService, ISchedulesService schedulesService)
	    {
	        _apiService = apiService;
	        _schedulesService = schedulesService;
	    }
Ejemplo n.º 15
0
 public SchedulesController(ISchedulesService SchedulesService)
 {
     _schedulesService = SchedulesService;
 }