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