Exemple #1
0
        /// <summary>
        /// 删除目录
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public async Task <IActionResult> OnPostDeleteDirectoryAsync([FromQuery] string directoryId)
        {
            int row = await directoryService.DeleteDirectoryAsync(long.Parse(directoryId));

            return(Content(row.ToString()));
        }