Ejemplo n.º 1
0
 public static bool DeleteUserGroup(UserGroup userGroup, AriUMContext ctx)
 {
     ctx.Delete(userGroup);
     ctx.SaveChanges();
     return true;
 }
Ejemplo n.º 2
0
 public static bool DeleteUser(User user, AriUMContext ctx)
 {
     ctx.Delete(user);
     ctx.SaveChanges();
     return true;
 }
Ejemplo n.º 3
0
 public static bool DeleteInvoiceLine(InvoiceLine invoiceLine, AriUMContext ctx)
 {
     ctx.Delete(invoiceLine);
     ctx.SaveChanges();
     return true;
 }
Ejemplo n.º 4
0
 public static bool DeleteProduct(Product product, AriUMContext ctx)
 {
     ctx.Delete(product);
     ctx.SaveChanges();
     return true;
 }
Ejemplo n.º 5
0
 public static bool DeleteCustomer(Customer customer, AriUMContext ctx)
 {
     ctx.Delete(customer);
     ctx.SaveChanges();
     return true;
 }