public EventsController(IEventServices eventService, IOrderServices orderService, UserManager <EvUser> userManager) { this.eventService = eventService; this.orderService = orderService; this._userManager = userManager; }
public EventController(IEventServices eventServices) { this.eventServices = eventServices; }
public ModifyEventViewModel(Event eventToModify, ObservableCollection <Event> eventList, ObservableCollection <Person> peopleList, IEventServices eventProxy, IPersonServices personProxy) { ModifyEventCommand = new RelayCommand(ModifyEventExecute, ModifyEventCanExecute); AddPraticipantCommand = new RelayCommand(AddPraticipantExecute, AddPraticipantCanExecute); RemovePraticipantCommand = new RelayCommand(RemovePraticipantExecute, RemovePraticipantCanExecute); EventList = eventList; PeopleList = peopleList; EventProxy = eventProxy; PersonProxy = personProxy; EventToModify = eventToModify; PersonToParticipate = new Person(); PersonToRevokeParticipation = new Person(); AvailablePeople = new ObservableCollection <Person>(PersonProxy.GetAllPeople().Where(p => p.IsAvailableForEvent(EventToModify.ScheduledDateTimeBeging, EventToModify.ScheduledDateTimeEnd))); Participants = new ObservableCollection <Person>(EventToModify.Participants); }
public BusinessController(IBusinessServices businessServices, AppDbContext context, ILogger <BusinessController> logger, IAddressServices addressServices, IEventServices eventServices, IEventTypeServices eventTypeServices) { _eventServices = eventServices; _businessServices = businessServices; _context = context; _logger = logger; _addressServices = addressServices; _eventTypeServices = eventTypeServices; }
public AdminController(IMemberServices services, IDepartmentService departmentService, IWorkerServices worker, IMemberServices member, ISermonServices sermon, ApplicationDbContext applicationDb, IEventServices eventServices, ISermonCategoryServ sermonCategory) { _memberServices = services; _dtservice = departmentService; _event = eventServices; _sermonServices = sermon; _workServ = worker; _context = applicationDb; _sermonCategory = sermonCategory; }
public AddEventViewModel(ObservableCollection <Event> eventList, ObservableCollection <Person> peopleList, IEventServices eventProxy, IPersonServices personProxy) { AddEventCommand = new RelayCommand(AddEventExecute, AddEventCanExecute); AddPraticipantCommand = new RelayCommand(AddPraticipantExecute, AddPraticipantCanExecute); RemovePraticipantCommand = new RelayCommand(RemovePraticipantExecute, RemovePraticipantCanExecute); EventList = eventList; PeopleList = peopleList; EventToAdd = new Event(); PersonToParticipate = new Person(); PersonToRevokeParticipation = new Person(); AvailablePeople = new ObservableCollection <Person>(); Participants = new ObservableCollection <Person>(); EventProxy = eventProxy; PersonProxy = personProxy; }
public EventServicesTests() { Context = new PlannerContext((new DbContextOptionsBuilder()).UseMySql(DbConnection).Options); Services = new EventServices(Context, new Mock<ICategoryServices>().Object); }
public EventController(IUserService userService, IEventServices eventServices) { _eventServices = eventServices; _userService = userService; }
public EventsController() { this.eventServices = new EventServices(); }
public EventController(IEventServices clientServices, IMapper mapper) { _eventServices = clientServices; _mapper = mapper; }
public EventController(IEventServices @event) { context = new ApplicationDbContext(); _event = @event; }
public DeleteEventConfirmationViewModel(Event eventToBeDeleted, ObservableCollection <Event> eventList, ObservableCollection <Person> peopleList, IEventServices eventProxy) { EventToBeDeleted = eventToBeDeleted; EventList = eventList; PeopleList = peopleList; Participants = new ObservableCollection <Person>(EventToBeDeleted.Participants); DeleteEventCommand = new RelayCommand(DeleteEventExecute, DeleteEventCanExecute); EventProxy = eventProxy; }
public TopEventController(PlannerContext plannerContext, IEventServices eventServices) { Context = plannerContext; EventServices = eventServices; }
public EventsController(IEventServices services) { _services = services; }
public ItemRegistrationsController(PortalDbContext db, IEventServices svc, IShoppingCartService cartSvc, ApplicationUserManager userManager) { _db = db; _eventSvc = svc; _cartSvc = cartSvc; UserManager = userManager; //} }
public HomeController() { this.deptServices = new DepartmentServices(); this.eventServices = new EventServices(); this.newsServices = new NewsServices(); }
public EventController(IEventServices eventServices) { _eventService = eventServices; }
public EventsController(IEventServices IEvent) { Event = IEvent; }
public RunEventPageViewModel(INavigationService NavigationService, ITimeServices timeServices, IEventServices eventservices) { this.NavigationService = NavigationService; this.TimeServices = timeServices; this.EventServices = eventservices; StartCommand = new DelegateCommand(StartMethod, CanExecuteStart).ObservesProperty(() => IsRunning); FinalizedCommnad = new DelegateCommand(FinalizedMethod, CanExecuteStop). ObservesProperty(() => IsRunning).ObservesProperty(() => Total); SplitTimeCommand = new DelegateCommand <object>(SplitTimeMethod, CanExecuteSplitTime). ObservesProperty(() => Total).ObservesProperty(() => IsRunning); NavigateToEventDetailsCommand = new DelegateCommand(NavigateToEventDetailMethod); IsBusy = true; }
public AgendaController(IEventServices eventServices, IUserService userService, ILiaison liaison) { EventServices = eventServices ?? throw new ArgumentNullException(nameof(eventServices)); UserService = userService ?? throw new ArgumentNullException(nameof(userService)); Liaison = liaison ?? throw new ArgumentNullException(nameof(liaison)); }
//Contructor public PdfServices(ITimeServices timeServices, IRunnerServices runnerServices, IEventServices eventServices) { this.TimeServices = timeServices; this.RunnerServices = runnerServices; this.EventServices = eventServices; }
public EventController(IEventServices eventService, UserManager <User> userManager) { _eventService = eventService; _userManager = userManager; }
public EventsController(IEventServices svc) { _svc = svc; }
public AuditTrailController(IEventServices services) { _services = services; }
public CedLogAttribute(UnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _editionServices = new EditionServices(_unitOfWork); _eventServices = new EventServices(_unitOfWork); }
public MainPageViewModel(INavigationService navigationService, ISQLite dbservices, IEventServices eventServices, IPdfServices pdfServices) : base(navigationService) { Title = "Main Menu"; NavigateToRunnerPageCommand = new DelegateCommand(NavigateToRunnerPage); DeleteAllCommand = new DelegateCommand(DeleteAllMethod); NavigateToEventsPageCommand = new DelegateCommand(NavigateToEventsPage); this.navigationService = navigationService; this.dbservices = dbservices; Connection = dbservices.GetConnection(); dbservices.CreateTables(Connection); this.EventServices = eventServices; GetNotRanEvents(); }
public EventsController(IEventServices eventServices, IUserServices userServices) { this.eventServices = eventServices; this.userServices = userServices; }
public EventController(IEventServices eventServices) { _eventService = eventServices; }