Beispiel #1
0
        public async Task <IActionResult> TodoChangeStatus(int todoId, short statusId)
        {
            var success = await _todoService.ChangeStatusAsync(todoId : todoId, statusId : statusId);

            return(Ok(new { success }));
        }