Esempio n. 1
0
        public async Task <IActionResult> SuspendPost(long id)
        {
            try
            {
                var result = await _postAppService.SuspendPost(id);

                return(Ok(result));
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }