Exemplo n.º 1
0
 public HomeController(ILogger <HomeController> logger, IArtBase <Art> service, IFavouriteBase <Favourite> FavouriteService, UserManager <ApplicationUser> manager)
 {
     _logger          = logger;
     this.service     = service;
     favouriteService = FavouriteService;
     this.manager     = manager;
 }
Exemplo n.º 2
0
 public ArtController(IArtBase <Art> service, IArtPhotoBase <ArtPhoto> photoService, UserManager <ApplicationUser> manager, IWebHostEnvironment hostingEnvironment, IFavouriteBase <Favourite> FavouriteService)
 {
     this.service            = service;
     this.photoService       = photoService;
     this.manager            = manager;
     this.hostingEnvironment = hostingEnvironment;
     favouriteService        = FavouriteService;
 }
 public FavouriteController(IFavouriteBase <Favourite> favouriteservice, UserManager <ApplicationUser> manager)
 {
     this.manager          = manager;
     this.favouriteservice = favouriteservice;
 }