Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MutantV1Controller"/> class.
 /// </summary>
 /// <param name="mutantService">Service of Mutant</param>
 public MutantV1Controller(IMutantService mutantService)
 {
     _autoMapper    = AutoMapperWeb.GetMapper();
     _mutantService = mutantService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StatsV1Controller"/> class.
 /// </summary>
 /// <param name="statsService">Service of Stats</param>
 public StatsV1Controller(IStatsService statsService)
 {
     _autoMapper   = AutoMapperWeb.GetMapper();
     _statsService = statsService;
 }