public Exam ZakaziPregled(Exam exam)
 {
     if (Convert.ToInt32(HttpContext.User.Identity.Name) == exam.PacijentId)
     {
         if (_examService.CanScheduleExam(exam))
         {
             return(_examService.SaveExam(exam));
         }
     }
     return(null);
 }