public static async Task <Result> Atualizar(AlunoDto dto) { var result = await SendRequest <string>("/" + dto.Id, HttpMethod.Put, dto).ConfigureAwait(false); return(result); }
public static async Task <Result> Criar(AlunoDto dto) { var result = await SendRequest <string>("/", HttpMethod.Post, dto).ConfigureAwait(false); return(result); }