/// <summary>
 /// Create a new instance of the <see cref="ApplicationUserService"/> with the needed dependencies.
 /// </summary>
 /// <param name="mapper">An instance of the <see cref="IMapper"/> interface, for automatically mapping different objects to each other.</param>
 /// <param name="healthyGamerPortalDbContext"></param>
 public LocalizationRecordService(IMapper mapper, HealthyGamerPortalDbContext healthyGamerPortalDbContext)
 {
     _mapper = mapper;
     _healthyGamerPortalDbContext = healthyGamerPortalDbContext;
 }
Пример #2
0
 /// <summary>
 /// Create a new instance of the <see cref="NewsService"/> with the needed dependencies.
 /// </summary>
 /// <param name="mapper">An instance of the <see cref="IMapper"/> interface, for automatically mapping different objects to each other.</param>
 /// <param name="healthyGamerPortalDbContext"></param>
 public NewsService(IMapper mapper, HealthyGamerPortalDbContext healthyGamerPortalDbContext)
 {
     _mapper = mapper;
     _healthyGamerPortalDbContext = healthyGamerPortalDbContext;
 }
 /// <summary>
 /// Create a new instance of the <see cref="ApplicationUserService"/> with the needed dependencies.
 /// </summary>
 /// <param name="mapper">An instance of the <see cref="IMapper"/> interface, for automatically mapping different objects to each other.</param>
 /// <param name="healthyGamerPortalDbContext"></param>
 public ApplicationUserService(IMapper mapper, HealthyGamerPortalDbContext healthyGamerPortalDbContext)
 {
     _mapper = mapper;
     _healthyGamerPortalDbContext = healthyGamerPortalDbContext;
 }