/// <summary> /// Creates a new client application. /// </summary> /// <param name="request">The request containing the properties of the new client.</param> /// <returns>Task<Core.Client>.</returns> public Task <Core.Client> CreateAsync(ClientCreateRequest request) { return(Connection.PostAsync <Core.Client>("clients", request, null, null, null, null, null)); }
public void Create(ClientCreateRequest request) { var client = new Clients(request.Name, request.CPF, request.Hashs); _clientRepository.Create(client); }
public Task <Core.Client> Create(ClientCreateRequest request) { return(CreateAsync(request)); }