/// <summary> /// validate login credentials of patient member /// </summary> /// <param name="credentials"></param> /// <returns>PatientID</returns> public int CheckPatientLogin(Credentials credentials) { try { if (credentials != null) { return(_repository.CheckPatientLogin(credentials)); } else { throw new NullReferenceException(); } } catch (Exception ex) { throw ex; } }