Exemplo n.º 1
0
 /// <summary>
 /// Crée la facade de la table activite
 /// </summary>
 /// <param name="activiteService">Le service de la table activite</param>
 public ActiviteFacade(IActiviteService activiteService)
 {
     if (activiteService == null)
     {
         throw new FacadeException("Le service ne peut être null");
     }
     this.activiteService = activiteService;
 }
Exemplo n.º 2
0
 public ExperienceController(ITransportService transportService, ILogementService _LogementService, IUserService _UserService, INourritureService _NourritureService, IWebHostEnvironment hostingEnvironment, IExperienceService experienceService, IActiviteService activiteService, UserManager <Utilisateur> userManager, IRatingService ratingService, SignInManager <Utilisateur> signInManager)
 {
     TransportService        = transportService;
     LogementService         = _LogementService;
     this.hostingEnvironment = hostingEnvironment;
     ExperienceService       = experienceService;
     UserService             = _UserService;
     NourritureService       = _NourritureService;
     ActiviteService         = activiteService;
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     userService             = _UserService;
     this.ratingService      = ratingService;
 }
 public ActivitesController(IActiviteService activiteService)
 {
     _activiteService = activiteService;
 }
Exemplo n.º 4
0
 public ActivitesController(IActiviteService activiteService, ILogger <ActivitesController> logger)
 {
     _activiteService = activiteService;
     _logger          = logger;
 }