public ScheduleMeetingsTest() { _scheduleMeetingsRepository = new Mock <IScheduleMeetingsRepository>(); _roomsRepository = new Mock <IRoomsRepository>(); _usersRepository = new Mock <IUsersRepository>(); _unitOfWork = new Mock <IUnitOfWork>(); _scheduleMeetingsAppService = new ScheduleMeetingsAppService(_scheduleMeetingsRepository.Object, _roomsRepository.Object, _usersRepository.Object, _unitOfWork.Object); SetupData(); }
public ScheduleMeetingsController(IScheduleMeetingsAppService scheduleMeetingsAppService, IRoomsAppService roomsAppService) { _scheduleMeetingsAppService = scheduleMeetingsAppService; _roomsAppService = roomsAppService; }