public async Task <ActionResult <IDictionary <string, int> > > DeleteAsync([FromRoute] string key, [Required, FromHeader] string author) { await reactionStorage.DeleteAsync(key, author); return(Ok(await reactionStorage.GetStats(key))); }
public async Task <ActionResult <IDictionary <string, int> > > DeleteAsync([FromRoute] string key) { await reactionStorage.DeleteAsync(key); return(Ok(await reactionStorage.GetStats(key))); }