Exemplo n.º 1
0
 public AddComicController(Context context)
 {
     _context   = context;
     _comicDAO  = BuilderDAL.Instance.GetInstance <IComicDAO>();
     _authorDAO = BuilderDAL.Instance.GetInstance <IAuthorDAO>();
     _heroDAO   = BuilderDAL.Instance.GetInstance <IHeroDAO>();
 }
 public AnonymousController(ICollectionDAO collectionDAO, IComicDAO comicDAO, ICharacterDAO characterDAO, ICreatorDAO creatorDAO, IVolumeDAO volumeDAO, ITagDAO tagDAO)
 {
     this.collectionDAO = collectionDAO;
     this.comicDAO      = comicDAO;
     this.characterDAO  = characterDAO;
     this.creatorDAO    = creatorDAO;
     this.volumeDAO     = volumeDAO;
     this.tagDAO        = tagDAO;
 }
Exemplo n.º 3
0
 public SearchController(IComicVineService comicVineService, IComicDAO comicDAO, ICharacterDAO characterDAO, ICreatorDAO creatorDAO, IVolumeDAO volumeDAO, ITagDAO tagDAO)
 {
     comicVine         = comicVineService;
     this.comicDAO     = comicDAO;
     this.characterDAO = characterDAO;
     this.creatorDAO   = creatorDAO;
     this.volumeDAO    = volumeDAO;
     this.tagDAO       = tagDAO;
 }
Exemplo n.º 4
0
 public UserController(ICollectionDAO collectionDAO, IComicDAO comicDAO, IComicVineService comicVine, IUserDAO userDAO, ICharacterDAO characterDAO, ICreatorDAO creatorDAO, ITagDAO tagDAO, IVolumeDAO volumeDAO)
 {
     this.collectionDAO = collectionDAO;
     this.comicDAO      = comicDAO;
     this.comicVine     = comicVine;
     this.userDAO       = userDAO;
     this.characterDAO  = characterDAO;
     this.creatorDAO    = creatorDAO;
     this.tagDAO        = tagDAO;
     this.volumeDAO     = volumeDAO;
 }
Exemplo n.º 5
0
 public ListComicController(Context context)
 {
     _context  = context;
     _comicDAO = BuilderDAL.Instance.GetInstance <IComicDAO>();
 }