Exemple #1
0
        public void TestValidProductDataAddition()
        {
            Thread.Sleep(100);
            UserData userData = new UserData
            {
                Email          = "*****@*****.**",
                Password       = "******",
                RepeatPassword = "******"
            };

            Assert.True(_signup.RegisterUser(userData) == HttpStatusCode.OK);
        }
Exemple #2
0
 public HttpStatusCode AddUser([FromBody] DataModel.UserData value)
 {
     return(signup.RegisterUser(value));
 }