public CarRepository(ZakaraiMeContext context, IHostingEnvironment hostingEnvironment, IConfiguration configuration) : base(context) { this.hostingEnvironment = hostingEnvironment; this.connectionString = configuration.GetConnectionString("DefaultConnection"); }
public PictureRepository(ZakaraiMeContext context, IHostingEnvironment hostingEnvironment) { this.context = context; dbSet = context.Set <Picture>(); wwwRootPath = hostingEnvironment.WebRootPath; }
public BaseRepository(ZakaraiMeContext context) { this.context = context; dbSet = context.Set <TEntity>(); }
public MessageRepository(ZakaraiMeContext context) { this.context = context; dbSet = context.Set <Message>(); }
public JourneyRepository(ZakaraiMeContext context) : base(context) { }