public static NorthwindContext GetNorthwindContext() { _northwindContext = (_northwindContext ?? new NorthwindContext()); return _northwindContext; } #endregion
public ShipperRepository() { _context = NorthwindContext.GetNorthwindContext(); }