コード例 #1
0
ファイル: BaseService.cs プロジェクト: nowakpaw/PilkoNET
 protected BaseService(IGamesroomDbContext context)
 {
     _context  = context;
     _entities = context.Set <TEntity>();
 }
コード例 #2
0
ファイル: BoxService.cs プロジェクト: nowakpaw/PilkoNET
 public BoxService(IGamesroomDbContext dbContext, IMapper mapper) : base(dbContext)
 {
     _context = dbContext;
     _mapper  = mapper;
 }
コード例 #3
0
ファイル: GameService.cs プロジェクト: nowakpaw/PilkoNET
 public GameService(IGamesroomDbContext context, IMapper mapper) : base(context)
 {
     _context = context;
     _mapper  = mapper;
 }