public void ValidateCreateClient() { Assert.IsNotNull(_validClient.CreateClient(_validClient)); Assert.AreEqual(_clientCreatedValidResponse.Success, _validClient.CreateClient(_validClient).Success); Assert.AreEqual(_clientCreatedValidResponse.Message, _validClient.CreateClient(_validClient).Message); }
public JsonResult CreateClient(ClientModel client) { return(Json(client.CreateClient(client))); }