示例#1
0
 public Task <IdeaDto> Post([FromBody] IdeaDto idea)
 {
     idea.OwnerId = _userIdentityProvider.GetUserId();
     return(_ideaService.CreateAsync(idea));
 }