示例#1
0
 public UsersService(
     TreasureHuntDBContext treasureHuntDBContext,
     IMapper mapper)
 {
     this.treasureHuntDBContext = treasureHuntDBContext;
     this.mapper = mapper;
 }
 /// <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;
 }
示例#3
0
 public ResultService(TreasureHuntDBContext treasureHuntDBContext, ISession session)
 {
     this.treasureHuntDBContext = treasureHuntDBContext;
     this.session = session;
 }