public IHttpActionResult AddItem(string category, string name, int id)
        {
            var manage = new ManageBasket(new Add());
            var item   = manage.BasketOperation(new AddRequest {
                Category = category, Id = id, Name = name
            });

            return(this.Ok(item));
        }
 public IHttpActionResult RemoveItem(int id)
 {
     try
     {
         var manage = new ManageBasket(new Remove());
         return(this.Ok(manage.BasketOperation(id)));
     }
     catch (Exception ex)
     {
         return(this.InternalServerError(ex));
     }
 }