public CoffeeMachineController()
 {
     _ctx = new CoffeDataContext();
     String path = HttpContext.Current.Server.MapPath("~/App_Data") + "\\";
     _ctx.Load(path);
     _path = path;
 }
        public CoffeeMachineController()
        {
            _ctx = new CoffeDataContext();
            String path = HttpContext.Current.Server.MapPath("~/App_Data") + "\\";

            _ctx.Load(path);
            _path = path;
        }
Exemple #3
0
        public void TestInitPurchase()
        {
            CoffeDataContext _ctx = new CoffeDataContext();

            _ctx.Init(String.Empty);
        }
 public CoffeeMachineController(CoffeDataContext ctx)
 {
     _ctx = ctx;
 }
Exemple #5
0
 public void TestInitPurchase()
 {
     CoffeDataContext _ctx = new CoffeDataContext();
     _ctx.Init(String.Empty);
 }
 public CoffeeMachineController(CoffeDataContext ctx)
 {
     _ctx = ctx;
 }