public bool AddOrderLog(T_OrderLog model) { using (var db = new cakedbEntities()) { db.Set <T_OrderLog>().Add(model); return(db.SaveChanges() > 0); } }
public bool InsertAddress(T_Address model) { using (var db = new cakedbEntities()) { db.Set <T_Address>().Add(model); return(db.SaveChanges() > 0); } }
public bool InsertCart(T_Cart model) { using (var db = new cakedbEntities()) { db.Set <T_Cart>().Add(model); return(db.SaveChanges() > 0); } }
public bool InsertUserModebyMobile(T_User model) { using (var db = new cakedbEntities()) { db.Set <T_User>().Add(model); return(db.SaveChanges() > 0); } }
public bool AddProductDetail(T_ProductDetail model) { using (var db = new cakedbEntities()) { db.Set <T_ProductDetail>().Add(model); return(db.SaveChanges() > 0); } }