public async Task <string> AddTopic( [FromBody] AddTopicToEntryRequest request) { await _entryService.AddTopicAsync(request.EntryId, request.Topic, request.SetPrimary); return(request.Topic); }
public async Task <string> AddTopic( [FromBody] AddTopicToEntryRequest request) { await _entryService.AddTopicAsync(request.EntryId, request.Topic, request.SetPrimary); return(request.Topic); }