public static async Task<RestaurantContext> GetRestaurantContextAsync() { if(_restaurantContext == null) { _restaurantContext = new RestaurantContext(); await _restaurantContext.InitializeContextAsync(); } return _restaurantContext; }
public static async Task <RestaurantContext> GetRestaurantContextAsync() { if (_restaurantContext == null) { _restaurantContext = new RestaurantContext(); await _restaurantContext.InitializeContextAsync(); } return(_restaurantContext); }