public HomeViewModel( IActivityParticipationService activityParticipationService, IActivityManagementService activityManagementService, IEventParticipationService eventParticipationService, IEventManagementService eventManagementService) { _activityParticipationService = activityParticipationService; _activityManagementService = activityManagementService; _eventParticipationService = eventParticipationService; _eventManagementService = eventManagementService;; NewEventParticipation = new EventParticipation(); NewActivityParticipation = new ActivityParticipation(); }
public ActivityManagementViewModel(IActivityManagementService activityManagementService) { _activityManagementService = activityManagementService; }
public ActivityManagementMock() { _proxy = CreateActivityManagement(); }
public ActivityController() { _activityservice = ServiceLocatorFactory.GetServiceLocator().GetService<IActivityManagementService>(); }