Пример #1
0
        public ActionResult DeleteOrder(int id)
        {
            CakesPosRepository cpr = new CakesPosRepository(_connectionString);

            cpr.DeleteStatusById(id);
            cpr.DeletePaymentsById(id);
            cpr.DeleteOrderDetailsById(id);
            cpr.DeleteOrderById(id);
            return(null);
        }