Exemplo n.º 1
0
 public TitresController(ITitreRepository titreRepository, IStyleRepository styleRepository, IArtisteRepository artisteRepository, IConfiguration configuration)
 {
     _titreRepository   = titreRepository;
     _styleRepository   = styleRepository;
     _artisteRepository = artisteRepository;
     _configuration     = configuration;
 }
Exemplo n.º 2
0
        public void IncrementeNbLikes(int idTitre, ITitreRepository titreRepository)
        {
            repository = titreRepository;
            var titre = repository.Find(idTitre);

            titre.NbLikes++;
            repository.IncrementNbLikes(titre);
        }
Exemplo n.º 3
0
 public TitreController(ICommentaireRepository commentaireRepository, ITitreRepository titreRepository, ITitreBusiness titreBussiness)
 {
     _commentaireRepository = commentaireRepository;
     _titreRepository       = titreRepository;
     _titreBussiness        = titreBussiness;
 }
Exemplo n.º 4
0
 public HomeController(ITitreRepository titreRepository)
 {
     _titreRepository = titreRepository;
 }
Exemplo n.º 5
0
 public TitresController(ITitreRepository titreRepository)
 {
     _titreRepository = titreRepository;
 }
Exemplo n.º 6
0
 public HomeController(ITitreRepository titreRepository, IConfiguration configuration)
 {
     _dbContext       = new WebzineDbContext();
     _titreRepository = titreRepository;
     _configuration   = configuration;
 }
Exemplo n.º 7
0
 public StyleController(IStyleRepository styleRepository, ITitreRepository titreRepository)
 {
     _styleRepository = styleRepository;
     _titreRepository = titreRepository;
 }
Exemplo n.º 8
0
 public RechercheController(IArtisteRepository artisteRepository, ITitreRepository titreRepository)
 {
     _artisteRepository = artisteRepository;
     _titreRepository   = titreRepository;
 }
Exemplo n.º 9
0
 public TitreBusiness()
 {
     _titreRepository = new DbTitreRepository();
 }
Exemplo n.º 10
0
 public StylesAdmin(IStyleRepository repo, ITitreRepository titreRepository)
 {
     _styleRepo       = repo;
     _titreRepository = titreRepository;
 }
Exemplo n.º 11
0
 public TitreController(ITitreRepository titreRepository, IStyleRepository styleRepository, IArtisteRepository artisteRepository)
 {
     _titreRepository   = titreRepository;
     _styleRepository   = styleRepository;
     _artisteRepository = artisteRepository;
 }
Exemplo n.º 12
0
 public TitreBusiness(ITitreRepository titreRepository)
 {
     _titreRepository = titreRepository;
 }
Exemplo n.º 13
0
 public ResearchController(ITitreRepository titreRepository, IArtisteRepository artisteRepository)
 {
     _titreRepository   = titreRepository;
     _artisteRepository = artisteRepository;
 }