Пример #1
0
 public EventWrapper(IEventCategoryManager eventCategoryManager, IEventTypeManager eventTypeManager,
                     IEventStatusManager eventStatusManager, IEventGalleryManager eventGalleryManager)
 {
     EventCategoryManager = eventCategoryManager;
     EventTypeManager     = eventTypeManager;
     EventStatusManager   = eventStatusManager;
     EventGalleryManager  = eventGalleryManager;
 }
 public void SetUp()
 {
     _mockRepositoryWrapper = new Mock <IRepositoryWrapper>();
     _mockEventTypeManager  = new Mock <IEventTypeManager>();
     _eventCategoryManager  = new EventCategoryManager(
         _mockRepositoryWrapper.Object,
         _mockEventTypeManager.Object);
 }
Пример #3
0
 public EventUserManager(IRepositoryWrapper repoWrapper, IMapper mapper,
                         IEventCategoryManager eventCategoryManager, IEventStatusManager eventStatusManager,
                         IEventAdministrationTypeManager eventAdministrationTypeManager)
 {
     this.repoWrapper                    = repoWrapper;
     this.mapper                         = mapper;
     this.eventCategoryManager           = eventCategoryManager;
     this.eventStatusManager             = eventStatusManager;
     this.eventAdministrationTypeManager = eventAdministrationTypeManager;
 }
Пример #4
0
 public ActionManager(UserManager <User> userManager, IRepositoryWrapper repoWrapper, IMapper mapper,
                      IEventCategoryManager eventCategoryManager, IEventTypeManager eventTypeManager,
                      IEventStatusManager eventStatusManager, IParticipantStatusManager participantStatusManager,
                      IParticipantManager participantManager, IEventGalleryManager eventGalleryManager)
 {
     _userManager              = userManager;
     _repoWrapper              = repoWrapper;
     _mapper                   = mapper;
     _eventCategoryManager     = eventCategoryManager;
     _eventTypeManager         = eventTypeManager;
     _eventStatusManager       = eventStatusManager;
     _participantStatusManager = participantStatusManager;
     _participantManager       = participantManager;
     _eventGalleryManager      = eventGalleryManager;
 }
Пример #5
0
 public EventUserManager(IRepositoryWrapper repoWrapper, UserManager <User> userManager,
                         IParticipantStatusManager participantStatusManager, IMapper mapper, IParticipantManager participantManager,
                         IEventCategoryManager eventCategoryManager, IEventStatusManager eventStatusManager,
                         IEventAdministrationTypeManager eventAdministrationTypeManager,
                         IEventAdmininistrationManager eventAdmininistrationManager)
 {
     _repoWrapper = repoWrapper;
     _userManager = userManager;
     _participantStatusManager = participantStatusManager;
     _mapper                         = mapper;
     _participantManager             = participantManager;
     _eventCategoryManager           = eventCategoryManager;
     _eventStatusManager             = eventStatusManager;
     _eventAdministrationTypeManager = eventAdministrationTypeManager;
     _eventAdmininistrationManager   = eventAdmininistrationManager;
 }