コード例 #1
0
 public User GetByEmail(string email)
 {
     try {
         return((User)_plugin.ReadByUserEmail(email));
     } catch (System.Data.DataException de) {
         throw new System.Data.DataException(de.Message);
     }
 }
コード例 #2
0
 public User GetByEmail(string email)
 {
     try {
         User user = (User)_plugin.ReadByUserEmail(email);
         return(user);
     } catch (Exception ex) {
         throw new UserAdapterNotFoundException(ex.ToString());
     }
 }
コード例 #3
0
 public User GetByEmail(string email)
 {
     return((User)_plugin.ReadByUserEmail(email));
 }