예제 #1
0
        public IActionResult Delete(int id)
        {
            try
            {
                _repo.DeleteFromCart(id);
                return(Ok());
            }

            catch (Exception e)
            {
                return(Ok(e.InnerException.Message));
            }
        }
 public void Delete(int Cartid)
 {
     _repo.DeleteFromCart(Cartid);
 }