Exemple #1
0
 public TvChannelPresentation(TvChannelRepository channelRepository, IMapper mapper, ICitizenRepository citizenRepository,
                              TvStaffRepository staffRepository)
 {
     _channelRepository = channelRepository;
     _mapper            = mapper;
     _citizenRepository = citizenRepository;
     _staffRepository   = staffRepository;
 }
 public TvStaffPresentation(TvStaffRepository staffRepository, TvProgrammeStaffRepository programmeStaffRepository,
                            IMapper mapper, IUserService userService, ICitizenRepository citizenRepository,
                            TvProgrammeRepository programmeRepository)
 {
     _staffRepository          = staffRepository;
     _programmeStaffRepository = programmeStaffRepository;
     _mapper              = mapper;
     _userService         = userService;
     _citizenRepository   = citizenRepository;
     _programmeRepository = programmeRepository;
 }