public ActionResult Create(Team model)
        {
            try
            {
                teamService.InsertOrUpdate(model);

                return RedirectToAction("Index");
            }
            catch(Exception ex)
            {
                return View();
            }
        }
        public ActionResult Delete(int id, Team model)
        {
            try
            {
                var item = teamService.GetAll(a => a.Id == id).FirstOrDefault();

                teamService.Purge(item);

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
        public ActionResult Edit(Team model)
        {
            try
            {
                teamService.InsertOrUpdate(model);

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