コード例 #1
0
 public Letter CreateLetter(LetterDefinition letterDefinition)
 {
     var populator = new CreateLetterPopulator(letterDefinition);
     return Execute<Letter>(Router.LETTERS, "POST", populator);
 }
コード例 #2
0
 public Task<Letter> CreateLetterAsync(LetterDefinition letterDefinition)
 {
     var populator = new CreateLetterPopulator(letterDefinition);
     return ExecuteAsync<Letter>(Router.LETTERS, "POST", populator);
 }
コード例 #3
0
 public CreateLetterPopulator(LetterDefinition letterDefinition)
 {
     _letterDefinition = letterDefinition;
 }