public Letter CreateLetter(LetterDefinition letterDefinition) { var populator = new CreateLetterPopulator(letterDefinition); return Execute<Letter>(Router.LETTERS, "POST", populator); }
public Task<Letter> CreateLetterAsync(LetterDefinition letterDefinition) { var populator = new CreateLetterPopulator(letterDefinition); return ExecuteAsync<Letter>(Router.LETTERS, "POST", populator); }
public CreateLetterPopulator(LetterDefinition letterDefinition) { _letterDefinition = letterDefinition; }