apply sorting ...
This commit is contained in:
+13
-12
@@ -1,25 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.StaticFiles;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
using xCommons.Extensions;
|
||||
using xDataService.Models;
|
||||
using xExceptions.Constants;
|
||||
using xTagService.Providers;
|
||||
using System.Threading.Tasks;
|
||||
using xIdentityModels.Models;
|
||||
using xFileService.Constants;
|
||||
using xFileService.Extensions;
|
||||
using xFileService.Interfaces;
|
||||
using xFileService.Interfaces.Dtos;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using xFileService.Models.Dtos;
|
||||
using xFileService.Models.Entities;
|
||||
using xFileService.Providers.Dtos;
|
||||
using xIdentityModels.Models;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System.Collections.Generic;
|
||||
using xStorageService.Interfaces;
|
||||
using xTagService.Providers;
|
||||
using xFileService.Providers.Dtos;
|
||||
using xFileService.Interfaces.Dtos;
|
||||
using xFileService.Models.Entities;
|
||||
using Microsoft.AspNetCore.StaticFiles;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
|
||||
namespace xFileService.Providers
|
||||
{
|
||||
@@ -35,7 +36,7 @@ namespace xFileService.Providers
|
||||
) : base(
|
||||
provider: provider,
|
||||
tagProvider: tagProvider,
|
||||
permittedRoles: new string[] { "admin" }
|
||||
permittedRoles: [XFileServiceConstants.XAdminRole]
|
||||
)
|
||||
{
|
||||
this.provider = provider;
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using System;
|
||||
using xCommons.Extensions;
|
||||
using xFileService.Interfaces;
|
||||
using xFileService.Interfaces.Dtos;
|
||||
using xFileService.Models.Dtos;
|
||||
using xFileService.Models.Entities;
|
||||
using xFileService.Providers.Dtos;
|
||||
using xIdentityModels.Models;
|
||||
using xTagService.Interfaces;
|
||||
using xTagService.Providers;
|
||||
using xIdentityModels.Models;
|
||||
using xFileService.Constants;
|
||||
using xFileService.Interfaces;
|
||||
using xFileService.Models.Dtos;
|
||||
using xFileService.Providers.Dtos;
|
||||
using xFileService.Interfaces.Dtos;
|
||||
using xFileService.Models.Entities;
|
||||
|
||||
namespace xFileService.Providers
|
||||
{
|
||||
@@ -19,7 +19,7 @@ namespace xFileService.Providers
|
||||
) : base(
|
||||
provider: provider,
|
||||
tagProvider: tagProvider,
|
||||
permittedRoles: new string[] { "admin" }
|
||||
permittedRoles: [XFileServiceConstants.XAdminRole]
|
||||
)
|
||||
{ }
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using xTagService.Providers;
|
||||
using xFileService.Constants;
|
||||
using xFileService.Interfaces;
|
||||
using xTagService.Interfaces.Dtos;
|
||||
using xTagService.Providers;
|
||||
|
||||
namespace xFileService.Providers
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user