コード例 #1
0
 public async Task <ChatMessage> Post([FromBody] ChatMessage message)
 {
     return(_discord.Notice(await _repository.AddChatMessage(message)));
 }
コード例 #2
0
 public async Task <Login> Post([FromBody] Login login)
 {
     return(_discord.Notice(await _repository.AddLogin(login)));
 }
コード例 #3
0
 public async Task <Death> Post([FromBody] Death death)
 {
     return(_discord.Notice(await _repository.AddDeath(death)));
 }
コード例 #4
0
 public async Task <Announcement> Post([FromBody] Announcement announcement)
 {
     return(_discord.Notice(await _repository.AddAnnouncement(announcement)));
 }