Esempio n. 1
0
 public UsersService(
     TreasureHuntDBContext treasureHuntDBContext,
     IMapper mapper)
 {
     this.treasureHuntDBContext = treasureHuntDBContext;
     this.mapper = mapper;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuizzesService"/> class.
 /// </summary>
 /// <param name="session">The session<see cref="ISession"/>.</param>
 /// <param name="treasureHuntDBContext">The treasureHuntDBContext<see cref="TreasureHuntDBContext"/>.</param>
 /// <param name="mapper">The mapper<see cref="IMapper"/>.</param>
 public QuizzesService(
     ISession session,
     TreasureHuntDBContext treasureHuntDBContext,
     IMapper mapper)
 {
     this.session = session;
     this.treasureHuntDBContext = treasureHuntDBContext;
     this.mapper = mapper;
 }
Esempio n. 3
0
 public ResultService(TreasureHuntDBContext treasureHuntDBContext, ISession session)
 {
     this.treasureHuntDBContext = treasureHuntDBContext;
     this.session = session;
 }