public ActionResult Create(Category collection)
        {
            try
            {
                var response = _category.CreateCategory(collection);
                var category = (Category)response.Objeto;
                if (response.Exito)
                {
                    TempData["Ok"] = response.Mensagem;
                }
                else
                {
                    TempData["Erro"] = response.Mensagem;
                }

                return(RedirectToAction("Details", new { id = category.IdCategory }));
            }
            catch
            {
                return(View());
            }
        }