public static bool DeleteUserGroup(UserGroup userGroup, AriUMContext ctx) { ctx.Delete(userGroup); ctx.SaveChanges(); return true; }
public static bool DeleteUser(User user, AriUMContext ctx) { ctx.Delete(user); ctx.SaveChanges(); return true; }
public static bool DeleteInvoiceLine(InvoiceLine invoiceLine, AriUMContext ctx) { ctx.Delete(invoiceLine); ctx.SaveChanges(); return true; }
public static bool DeleteProduct(Product product, AriUMContext ctx) { ctx.Delete(product); ctx.SaveChanges(); return true; }
public static bool DeleteCustomer(Customer customer, AriUMContext ctx) { ctx.Delete(customer); ctx.SaveChanges(); return true; }