예제 #1
0
 public DatabaseInitializer(
     NiceOneDbContext db,
     IEnumerable <IInitialData> initialDataProviders)
 {
     this.db = db;
     this.initialDataProviders = initialDataProviders;
 }
예제 #2
0
 public CityService(NiceOneDbContext data, IMapper mapper)
     : base(data)
     => this.mapper = mapper;
예제 #3
0
 public FeedbackService(NiceOneDbContext data, IMapper mapper)
     : base(data)
     => this.mapper = mapper;
예제 #4
0
 public PlaceService(NiceOneDbContext data)
     : base(data)
 {
 }
예제 #5
0
 protected BaseService(NiceOneDbContext data)
 => Data = data;