public StorySentHandler(IStoriesService storiesService, ITagsService tagsService, IUsersService usersService) { _storiesService = storiesService; _tagsService = tagsService; _usersService = usersService; }
public HomeController(ISupplierService supplierService, IStoriesService storiesService, IImportMethodHelper importMethodHelper) { _supplierService = supplierService; _storiesService = storiesService; _importMethodHelper = importMethodHelper; }
public StoriesServiceTest(ITestOutputHelper testOutputHelper) { storiesRepository = new Mock <IStoriesRepository>(); mapper = new Mock <IMapper>(); storiesService = new StoriesService(storiesRepository.Object, mapper.Object); this.testOutputHelper = testOutputHelper; }
public void Init() { IStoryDALService storyDALService = new StoryDALService(); var config = new MapperConfiguration(cfg => { cfg.AddProfile <StoriesProfile>(); }); IMapper mapper = config.CreateMapper(); storyService = new StoriesService(storyDALService, mapper); }
public ComicsViewModel(IArtistsService artistsService, IBooksService booksService, ICharactersService charactersService, ICodesService codesService, IPublishersService publishersService, ISeriesService seriesService, IStoriesService storiesService, IExportBooksService exportBooksService, IMapper mapper, NavigationService navigationService, IConfiguration configuration) : base(mapper) { _navigationService = navigationService; _configuration = configuration; ArtistView = new ArtistViewModel(artistsService, mapper); BookView = new BookViewModel(booksService, mapper); CharacterView = new CharacterViewModel(charactersService, mapper); CodeView = new CodeViewModel(codesService, mapper); PublisherView = new PublisherViewModel(publishersService, mapper); SeriesView = new SeriesViewModel(seriesService, mapper); StoryView = new StoryViewModel(storiesService, mapper); ReportView = new ReportViewModel(exportBooksService, mapper); Languages = LanguageType.FillLanguages(); Actives = FillEnum <Active>(); FirstPrints = FillEnum <FirstPrint>(); BookTypes = FillEnum <BookType>(); StoryTypes = FillEnum <StoryType>(); ShowArtistFromStoryWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowArtistFromStoryWindow)); ShowBookFromPublisherWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowBookFromPublisherWindow)); ShowBookFromSeriesWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowBookFromSeriesWindow)); ShowBookFromStoryWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowBookFromStoryWindow)); ShowCharacterFromStoryWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowCharacterFromStoryWindow)); ShowCodeFromSeriesWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowCodeFromSeriesWindow)); ShowCodeFromStoryWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowCodeFromStoryWindow)); ShowPublisherFromBookWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowPublisherFromBookWindow)); ShowSeriesFromBookWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowSeriesFromBookWindow)); ShowSeriesFromCodeWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowSeriesFromCodeWindow)); ShowStoryFromArtistWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowStoryFromArtistWindow)); ShowStoryFromBookWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowStoryFromBookWindow)); ShowStoryFromCharacterWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowStoryFromCharacterWindow)); ShowStoryFromCodeWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowStoryFromCodeWindow)); ShowArtistWindowCommand = new RelayCommand(new Action(ShowArtistWindow)); ShowBookWindowCommand = new RelayCommand(new Action(ShowBookWindow)); ShowCharacterWindowCommand = new RelayCommand(new Action(ShowCharacterWindow)); ShowCodeWindowCommand = new RelayCommand(new Action(ShowCodeWindow)); ShowPublisherWindowCommand = new RelayCommand(new Action(ShowPublisherWindow)); ShowSeriesWindowCommand = new RelayCommand(new Action(ShowSeriesWindow)); ShowStoryWindowCommand = new RelayCommand(new Action(ShowStoriesWindow)); ShowReportWindowCommand = new RelayCommand(new Action(ShowReportWindow)); }
public StoriesController(IStoriesService storyService, IRatingsService ratingsService) { this.storyService = storyService; this.ratingsService = ratingsService; }
public StoriesController(IStoriesService storiesService, UserManager <GoUser> userManager) { this.storiesService = storiesService; this.userManager = userManager; }
public StoryRatedHandler(IStoriesService storiesService) { _storiesService = storiesService; }
public StoriesController(IStoriesService storiesService) { _storiesService = storiesService; }
public StoryViewModel(IStoriesService storyService, IMapper mapper) : base(mapper) { this.storyService = storyService; }
public StoriesController(IStoriesService storiesService, IFeedService feedService) { _storiesService = storiesService; _feedService = feedService; }
public NewsController(IStoriesService storiesService, IMapper mapper) { this.storiesService = storiesService; this.mapper = mapper; }