Exemplo n.º 1
0
 public PosterService(
     AppConfiguration configuration,
     DAOStorage daoStorage,
     Mapper mapper,
     BaseCrudDAO <PosterDTO> dao
     ) : base(configuration, daoStorage, mapper, dao)
 {
 }
 protected BaseNamedCrudService(
     AppConfiguration configuration,
     DAOStorage daoStorage,
     Mapper mapper,
     BaseCrudDAO <TDto> dao
     ) : base(configuration, daoStorage, mapper, dao)
 {
 }
Exemplo n.º 3
0
 public MovieService(
     AppConfiguration configuration,
     DAOStorage daoStorage,
     Mapper mapper,
     BaseCrudDAO <MovieDTO> dao,
     PosterService posterService
     ) : base(configuration, daoStorage, mapper, dao)
 {
     _posterService = posterService;
 }
Exemplo n.º 4
0
 protected BaseCrudService(
     AppConfiguration configuration,
     DAOStorage daoStorage,
     Mapper mapper,
     BaseCrudDAO <TDto> dao
     ) : base(configuration, daoStorage)
 {
     DAO    = dao;
     Mapper = mapper;
 }
Exemplo n.º 5
0
        public void RegisterDependencies(Container container)
        {
            var config = container.Resolve <AppConfiguration>();

            var daoStorage = new DAOStorage(
                new CompanyDAO(config),
                new FormatDAO(config),
                new GenreDAO(config),
                new PosterDAO(config),
                new QualityDAO(config),
                new MovieDAO(config),
                new PosterImageDAO(config)
                );

            container.Register(daoStorage);
        }
Exemplo n.º 6
0
 public FormatService(AppConfiguration configuration, DAOStorage daoStorage, Mapper mapper, BaseCrudDAO <FormatDTO> dao) : base(configuration, daoStorage, mapper, dao)
 {
 }
Exemplo n.º 7
0
 public GenreService(AppConfiguration configuration, DAOStorage daoStorage, Mapper mapper, BaseCrudDAO <GenreDTO> dao) : base(configuration, daoStorage, mapper, dao)
 {
 }
Exemplo n.º 8
0
 public QualityService(AppConfiguration configuration, DAOStorage daoStorage, Mapper mapper, BaseCrudDAO <QualityDTO> dao) : base(configuration, daoStorage, mapper, dao)
 {
 }
Exemplo n.º 9
0
 protected BaseService(AppConfiguration configuration, DAOStorage storage)
 {
     Configuration = configuration;
     Storage       = storage;
 }