public String Delete(int id)
        {
            CustomerOrderRepository cor = new CustomerOrderRepository(ConstantUtil.MyConnectionString);

            cor.Delete(id);
            return("You successfully deleted the order with id: " + id);
        }
Example #2
0
        public int Delete(int customerOrderID)
        {
            var deleteResult = _repo.Delete(customerOrderID);

            return(deleteResult);
        }