public AddTimeSlots() { InitializeComponent(); executedFirstTime = true; timeSlotService = new TimeSlotService(); populateData(); }
public TimeSlotController(ITimeSlotService timeSlotService, ISessionService sessionService, IRoomService roomService, UserManager <IdentityUser> userManager) { _timeSlotService = timeSlotService; _sessionService = sessionService; _roomService = roomService; _userManager = userManager; }
public MentorController(IMenteeSeniorityService menteeSeniorityService, IEmailMessageService emailMessageService, ITimeSlotService timeSlotService, ITopicService topicService, IMenteeService menteeService, IMentorService mentorService) { _menteeSeniorityService = menteeSeniorityService; _emailMessageService = emailMessageService; _timeSlotService = timeSlotService; _topicService = topicService; _menteeService = menteeService; _mentorService = mentorService; }
public WidgetsTimeSlotsViewComponent(IStoreContext storeContext, IStaticCacheManager cacheManager, ISettingService settingService, IPictureService pictureService, IWebHelper webHelper, ITimeSlotService timeSlotService) { _storeContext = storeContext; _cacheManager = cacheManager; _settingService = settingService; _pictureService = pictureService; _webHelper = webHelper; _timeSlotService = timeSlotService; }
private List <DSS.Models.TimeSlotVM> GetTimeSlots() { ITimeSlotService timeSlotService = DependencyUtils.Resolve <ITimeSlotService>(); var TimeSlotList = timeSlotService.Get().ToList(); var TimeSlotVMs = new List <DSS.Models.TimeSlotVM>(); if (TimeSlotList != null) { foreach (var item in TimeSlotList) { var timeSlotVM = new DSS.Models.TimeSlotVM { SlotID = item.SlotID, StartTime = item.StartTime.ToString(), EndTime = item.EndTime.ToString(), }; TimeSlotVMs.Add(timeSlotVM); } } return(TimeSlotVMs); }
public TimeSlotController(ITimeSlotService timeSlotService) { _timeSlotService = timeSlotService; }
public UserController(UserManager <IdentityUser> userManager, IUserTimeSlotService userTimeSlotService, ITimeSlotService timeSlotService) { _userManager = userManager; _userTimeSlotService = userTimeSlotService; _timeSlotService = timeSlotService; }
public TimeSlotOrchestrator(IUnitOfWork unitOfWork, IMapper mapper, ITimeSlotService timeSlotService) { _storage = unitOfWork; _mapper = mapper; _timeSlotService = timeSlotService; }
public WorkingHoursController(IWorkingHourService workingHourService, ITimeSlotService slotService) { _workingHourService = workingHourService; _slotService = slotService; }
public TimeSlotController(UserManager <ApplicationUser> userManager, ITimeSlotService timeSlotService) { _userManager = userManager; _timeSlotService = timeSlotService; }
public TimeSlotController(ITimeSlotService service) { _service = service; }
public TimeSlotController(ITimeSlotService timeSlots, IMapper mappers) { _timeSlots = timeSlots; _mapper = mappers; }