mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
eliminates region sections
This commit is contained in:
1 parent
705c02b90d
commit
405fc1ff9a
370 files changed
+47
-1618
No files matched your search
@@ -14,11 +14,8 @@ namespace Lumina.Presentation.Web.Controllers.FileManagement;
|
||||
[Route("[controller]")]
|
||||
public class DrivesController : Controller
|
||||
{
|
||||
#region ================================================================== FIELD MEMBERS ================================================================================
|
||||
private readonly IApiHttpClient _apiHttpClient;
|
||||
#endregion
|
||||
|
||||
#region ====================================================================== CTOR =====================================================================================
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DrivesController"/> class.
|
||||
/// </summary>
|
||||
@@ -27,9 +24,7 @@ public class DrivesController : Controller
|
||||
{
|
||||
_apiHttpClient = apiHttpClient;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ===================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Controller action for getting the list of all file system drives.
|
||||
/// </summary>
|
||||
@@ -40,5 +35,4 @@ public class DrivesController : Controller
|
||||
FileSystemTreeNodeModel[] response = await _apiHttpClient.GetAsync<FileSystemTreeNodeModel[]>($"drives/get-drives", cancellationToken: cancellationToken);
|
||||
return Json(new { success = true, data = new { drives = response } });
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user