|
@@ -53,5 +53,15 @@ namespace GxPress.Api.AdminControllers
|
|
|
{
|
|
|
return await navigationRepository.UpdateAsync(request);
|
|
|
}
|
|
|
+ /// <summary>
|
|
|
+ /// 删除导航
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="id"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ [HttpDelete("{id}")]
|
|
|
+ public async Task<bool> DeleteAsync(int id)
|
|
|
+ {
|
|
|
+ return await navigationRepository.DeleteAsync(id);
|
|
|
+ }
|
|
|
}
|
|
|
}
|