public int Count() { try { return(_repositoryPatient.Count()); } catch (Exception) { throw new ServiceException("occour a problem, please try later!"); } }