Example #1
0
        public UserInfo GetUserBankDetails(UserAddress userDetails)
        {
            IUserDetails            _repository = new UserDetails();
            IList <UserBankDetails> response    = new List <UserBankDetails>();

            response = _repository.GetBankDetailsByUser(userDetails.UserId);
            UserInfo userDetailsInfo = new UserInfo();

            userDetailsInfo.UserBankDetails = response;
            return(userDetailsInfo);
        }