public HomeController(MobileContext context)
 {
     db = context;
     ManaggerShop manager = new ManaggerShop();
     list = manager.getList(context);
 }
Beispiel #2
0
 public IList<Phone> getList(MobileContext context) => context.Phones.ToList();