// Made by Mikkel. E.R. Glerup /// <summary> /// Edits subsription in database by SubscriptionID /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool EditSubscription(Subscription input) { DBEdit dBEdit = new DBEdit(); return(dBEdit.EditSubscription(input)); }
// Made by Helena Brunsgaard Madsen /// <summary> /// Edits product in database by productID /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool EditProduct(Product input) { DBEdit dBEdit = new DBEdit(); return(dBEdit.EditProduct(input)); }
//Made by Mikkel E.R. Glerup /// <summary> /// Edits user in database by UserID /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool EditUser(User input) { DBEdit dBEdit = new DBEdit(); return(dBEdit.EditUser(input)); }
// Made by Helena Brunsgaard Madsen /// <summary> /// Edits customer in database by CustomerID /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool EditCustomer(Customer input) { DBEdit dBEdit = new DBEdit(); return(dBEdit.EditCustomer(input)); }
// Made by Helena Madsen /// <summary> /// Editing subscription from picked subscriptionID /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool EditSubscriptionWCategory(SubscribedToCategory input) { DBEdit dBEdit = new DBEdit(); return(dBEdit.EditSubscriptionWCategory(input)); }