public void Delete(Persistence.Entity.ShoppingCartItem entity)
 {
     if (entity != null)
     {
         context.ShoppingCartItems.Remove(entity);
         context.Entry(entity).State = EntityState.Deleted;
         context.SaveChanges();
     }
 }
 public void Add(Persistence.Entity.ShoppingCartItem entity)
 {
     context.ShoppingCartItems.Add(entity);
     context.SaveChanges();
 }