Ejemplo n.º 1
0
        public void RegisterUserTest()
        {
            SecurityUserBussiness provider = new SecurityUserBussiness();
            UserDto user = new UserDto()
            {
                FirstName  = "test2",
                LastName   = "ftest2",
                NationalNo = "123457"
            };
            AccountDto acc = new AccountDto()
            {
                Username = "******",
                Password = "******"
            };

            user.Accounts.Add(acc);
            var result = provider.RegisterUser(user);
        }
        public Framework.Common.Service.Message.ResponseDto RegisterUser(Common.DTO.UserDto userMember)
        {
            var response = userBussiness.RegisterUser(userMember);

            return(response);
        }