public int Add(Model.GaoQing.MovieMagnet model) { try { return(Convert.ToInt32(db.Insert(model))); } catch (Exception) { return(-1); } }
public int Update(Model.GaoQing.MovieMagnet model) { return(db.Update(model)); }
public int Add(Model.GaoQing.MovieMagnet model) { try { return(Convert.ToInt32(db.Insert(model))); } catch (Exception) { return(-1); } }
public int Update(Model.GaoQing.MovieMagnet model) { return(db.Update(model)); }