public ActionResult <SignUpFormResponse> Post([FromBody] SignUpForm signUpForm) { SignUpFormResponse signUpFormResponse = _userBiz.RegistorUser(signUpForm); return(Ok(signUpFormResponse)); }
public void UnitTest1() { var ActualResult = _userBiz.RegistorUser(null); Assert.NotNull(ActualResult); Assert.True(ActualResult.StatusCode == 400); Assert.NotNull(ActualResult.ErrorList); Assert.True(ActualResult.ErrorList.Count > 0); }