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