示例#1
0
        public async Task <IActionResult> Put([FromBody] EditSetting command)
        {
            await BusClient.PublishAsync(command);

            return(Accepted());
        }
示例#2
0
        public async Task <IActionResult> Delete([FromBody] RemoveSetting command)
        {
            await BusClient.PublishAsync(command);

            return(Accepted());
        }