public IActionResult Compartilhado(string id)
 {
     if (this.User.Identity.IsAuthenticated)
     {
         var exameComp = _exameCompRepository.ObterPorKey(id);
         var res       = _exameService.CompartilharExame(id);
         if (res)
         {
             return(RedirectToAction("VisualizarCompartilhado", new { id = exameComp.ExameId }));
         }
         return(RedirectToAction("Index", new { }));
     }
     else
     {
         return(RedirectToAction("Login", "Usuario"));
     }
 }