public ActionResult Edit(int id, Category category)
        {
            try
            {
				_client.PutCategory(id, category);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
		public ActionResult Create(Category category)
        {
            try
            {
				_client.PostCategory(category);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
		public ActionResult Delete(int id, Category collection)
		{
			try
			{
				_client.DeleteCategory(id);

				return RedirectToAction("Index");
			}
			catch
			{
				return View();
			}
		}