public int GetID(string email) { try { return(_usersDAO.GetID(email)); } catch (Exception ex) { Logger.Log.Error(ex.Message); return(-1); } }
public int GetID(string name) { return(_usersDAO.GetID(name)); }