public IActionResult Create(ProjetoViewModel projetoViewModel)
 {
     if (ModelState.IsValid)
     {
         projetoViewModel.DataReal = DateTime.Now;
         _context.ProjetoViewModel.Add(projetoViewModel);
         _context.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(projetoViewModel);
 }
 public IActionResult Edit(ProjetoViewModel projetoViewModel)
 {
     if (ModelState.IsValid)
     {
         _context.Update(projetoViewModel);
         _context.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(projetoViewModel);
 }