public PeopleManagementService( IPeopleRepository peopleRepository, IFilmPeopleRepository filmPeopleRepository, IPeopleCareerRepository peopleCareerRepository) { _peopleRepository = peopleRepository; _filmPeopleRepository = filmPeopleRepository; _peopleCareerRepository = peopleCareerRepository; }
public UnitOfWork(DatabaseContext context, IUsersRepository users, IInvitationsRepository invitations, IFriendshipsRepository friendships, IInformationsRepository informations, IQuizzesRepository quizes, IQuizQuestionsRepository quizQuestions, IQuizAnswersRepository quizAnswers, IQuizScoresRepository quizScores, IFilesRepository files, IFilmWatchingsRepository filmWatchings, IFilmsRepository films, IFilmPeopleRepository filmPeople, IPersonMarksRepository personMarks, IInformationCommentsRepository informationComments, IForumThreadsRepository forumThreads, IForumThreadCommentsRepository forumThreadComments, IMessagesRepository messages, ISignalRConnectionsRepository signalRConnections, IMessagesReadingsRepository messagesReadings, IConversationsRepository conversations, IInvitationNotificationsRepository invitationNotifications, INotificationsReadingsRepository notificationsReadings, IPeopleInRolesRepository peopleInRoles) { Context = context; Users = users; Friendships = friendships; Invitations = invitations; Informations = informations; Quizzes = quizes; QuizQuestions = quizQuestions; QuizAnswers = quizAnswers; QuizScores = quizScores; Files = files; FilmWatchings = filmWatchings; Films = films; FilmPeople = filmPeople; PersonMarks = personMarks; InformationComments = informationComments; ForumThreads = forumThreads; ForumThreadComments = forumThreadComments; Messages = messages; SignalRConnections = signalRConnections; MessagesReadings = messagesReadings; Conversations = conversations; InvitationNotifications = invitationNotifications; NotificationsReadings = notificationsReadings; PeopleInRoles = peopleInRoles; }
public FilmManagementService( IFilmRepository filmRepository, IFilmCountryRepository filmCountryRepository, IFilmPeopleRepository filmPeopleRepository, IFilmRatingRepository filmRatingRepository, UserManager <ApplicationUser> userManager, IDistributorRepository distributorRepository, IFeedbackRepository feedbaclRepository) { _filmRepository = filmRepository; _filmCountryRepository = filmCountryRepository; _filmPeopleRepository = filmPeopleRepository; _filmRatingRepository = filmRatingRepository; _userManager = userManager; _distributorRepository = distributorRepository; _feedbaclRepository = feedbaclRepository; }