Example #1
0
 public VoteController(VoteService _voteService, MatchService _matchService, JoueurService _joueurService, UserManager<ApplicationUser> _userManager)
 {
     VoteService = _voteService;
     MatchService = _matchService;
     JoueurService = _joueurService;
     UserManager = _userManager;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="service"></param>
 /// <param name="mService"></param>
 /// <param name="userManager"></param>
 public VotesController(VoteService service, MatchService mService, UserManager<ApplicationUser> userManager)
 {
     _service = service;
     _matchService = mService;
     _userManager = userManager;
 }