public Startup() { var builder = new ConfigurationBuilder() .AddJsonFile("config.json") .AddEnvironmentVariables(); Configuration = builder.Build(); var a = new RestourantContext(); }
public CategoryRepository(RestourantContext context) { this.context = context; }
public MenuRepository(RestourantContext context) { this.context = context; }
public BaseRepository() { _context = new RestourantContext(); }
public OrdersRepository(RestourantContext context) { this.context = context; }