示例#1
0
 public static void DeleteStoreInfoFromId(int id)
 {
     using (var db = new MVPOnBoardAPIContext())
     {
         db.Stores.Remove(StoreDAL.GetStoreFromId(id));
         db.SaveChanges();
     }
 }
示例#2
0
 public Stores Edit(int id)
 {
     return(StoreDAL.GetStoreFromId(id));
 }