public void TestValidProductDataAddition() { Thread.Sleep(100); UserData userData = new UserData { Email = "*****@*****.**", Password = "******", RepeatPassword = "******" }; Assert.True(_signup.RegisterUser(userData) == HttpStatusCode.OK); }
public HttpStatusCode AddUser([FromBody] DataModel.UserData value) { return(signup.RegisterUser(value)); }