Exemplo n.º 1
0
        public ActionResult Inscricao(Time time)
        {
            if (ModelState.IsValid)
            {
                timerepositorio.CadastrarTimes(time);

            }
            return View();
        }
Exemplo n.º 2
0
 public void CadastrarTimes(Time time)
 {
     db.Time.Add(time);
     db.SaveChanges();
 }