AppActs.Client.Service.UserService.GetUser C# (CSharp) Method

GetUser() public method

public GetUser ( string email, string password ) : User
email string
password string
return AppActs.Client.Model.User
        public User GetUser(string email, string password)
        {
            User accountUser = null;

            try
            {
                password = DES.Encrypt(
                        this.settings.SecurityKey,
                        SHA2.GetSHA256Hash(password)
                    );

                accountUser =
                    this.accountUserRepository.Find(email, password);
            }
            catch (DataAccessLayerException)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw new ServiceLayerException(ex);
            }

            return accountUser;
        }

Same methods

UserService::GetUser ( System.Guid accountUserGuid ) : User
UserService::GetUser ( ObjectId accountUserId ) : User
UserService::GetUser ( string accountUserEmail ) : User