예제 #1
0
        public async Task <ActionResult> ToggleArchive([FromRoute] Guid threadId, [FromQuery(Name = "user_id")] int userId, [FromQuery(Name = "status")] bool status = false)
        {
            await _threadManager.ArchiveThreadyByIdAsync(userId, threadId, status);

            return(Ok());
        }