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