Пример #1
0
        public GroupService()
        {
            _storiesUoW = new StoriesUoW <StoriesDBContext>();

            _userRepository  = _storiesUoW.GetRepository <User>();
            _storyRepository = _storiesUoW.GetRepository <Story>();
            _groupRepository = _storiesUoW.GetRepository <Group>();
        }
Пример #2
0
 public StoriesService(IAmazonS3Repository amazonS3Repository, IMapper mapper, IStoriesRepository storiesRepository, IFeedService feedService, IOptions <S3Settings> s3Settings)
 {
     _amazonS3Repository = amazonS3Repository;
     _mapper             = mapper;
     _storiesRepository  = storiesRepository;
     _feedService        = feedService;
     _s3Settings         = s3Settings.Value;
 }
 public ChaptersViewModel(IMapper mapper, IMvxNavigationService navigationService, IStoriesRepository storiesRepository)
 {
     _mapper            = mapper;
     _navigationService = navigationService;
     _storiesRepository = storiesRepository;
 }
Пример #4
0
 public StoriesService(IStoriesRepository storiesRepository, IMapper mapper)
 {
     this.storiesRepository = storiesRepository;
     this.mapper            = mapper;
 }
Пример #5
0
 public StoryController(IStoriesRepository storiesRepository)
 {
     repo = storiesRepository;
 }
 public ChapterViewModel(IMvxNavigationService navigationService, IStoriesRepository storiesRepository)
 {
     _navigationService = navigationService;
     _storiesRepository = storiesRepository;
 }