コード例 #1
0
        // 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));
        }
コード例 #2
0
        // 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));
        }
コード例 #3
0
        //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));
        }
コード例 #4
0
        // 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));
        }
コード例 #5
0
        // 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));
        }