コード例 #1
0
 /// <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;
 }
コード例 #3
0
 /// <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;
 }