public SpecialistViewModel Get(int id)
 {
     try
     {
         var result = _specialistRepository.GetAll().Include(x => x.MEDoctor).Include(x => x.MEDoctorSpecialists.Select(y => y.MEDoctor)).FirstOrDefault(x => x.MESpecialistID == id);
         if (result == null)
         {
             throw new Exception("Object not found!");
         }
         return(result.ToSpecialistViewModel());
     }
     catch (Exception ex)
     {
         _logService.Create(ex);
         throw ex;
     }
 }