public void CreateClient(CreateIndividualClientViewModel client)
 {
     var individualClient = AutoMapper.Mapper.Map<CreateIndividualClientViewModel,IndividualClient>(client);
     creditUow.IndividualClients.InsertOrUpdate(individualClient);
     creditUow.Commit();
     client.Id = individualClient.Id;
 }
 public HttpResponseMessage CreateOrUpdateIndividualClient(CreateIndividualClientViewModel individualClient)
 {
     var model = ProcessViewModel(individualClient, individualClientValidationService, individualClientsService.CreateClient);
     return Request.CreateResponse(HttpStatusCode.OK, model);
 }