public User GetByEmail(string email) { try { return((User)_plugin.ReadByUserEmail(email)); } catch (System.Data.DataException de) { throw new System.Data.DataException(de.Message); } }
public User GetByEmail(string email) { try { User user = (User)_plugin.ReadByUserEmail(email); return(user); } catch (Exception ex) { throw new UserAdapterNotFoundException(ex.ToString()); } }
public User GetByEmail(string email) { return((User)_plugin.ReadByUserEmail(email)); }