예제 #1
0
 public bool UpdateClient(int clientId, DomainClient client)
 {
     if (client != null)
     {
         _repository.Clients.UpdateClient(clientId, client.ToInfrastructure());
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public DomainClient CreateClient(DomainClient client)
 {
     _repository.Clients.CreateClient(client?.ToInfrastructure());
     return(client);
 }