mirror of https://github.com/abpframework/abp.git
9 changed files with 110 additions and 1 deletions
@ -1,11 +1,16 @@ |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Application.Services; |
|||
using Volo.Abp.Content; |
|||
|
|||
namespace Volo.CmsKit.Admin.Pages |
|||
{ |
|||
public interface IPageAdminAppService : ICrudAppService<PageDto, PageDto, Guid, GetPagesInputDto, CreatePageInputDto, UpdatePageInputDto> |
|||
{ |
|||
Task<bool> ExistsAsync(string url); |
|||
|
|||
Task SetImageAsync(Guid id, RemoteStreamContent content); |
|||
|
|||
Task<RemoteStreamContent> GetImageAsync(Guid id); |
|||
} |
|||
} |
|||
@ -0,0 +1,10 @@ |
|||
using Volo.Abp.BlobStoring; |
|||
|
|||
namespace Volo.CmsKit.Pages |
|||
{ |
|||
[BlobContainerName("cms-kit-page-image")] |
|||
public class PageImageContainer |
|||
{ |
|||
|
|||
} |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
using System.IO; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.BlobStoring; |
|||
|
|||
namespace Volo.FileManagement |
|||
{ |
|||
public class FakeBlobProvider : IBlobProvider |
|||
{ |
|||
public virtual Task SaveAsync(BlobProviderSaveArgs args) |
|||
{ |
|||
throw new System.NotImplementedException(); |
|||
} |
|||
|
|||
public virtual Task<bool> DeleteAsync(BlobProviderDeleteArgs args) |
|||
{ |
|||
throw new System.NotImplementedException(); |
|||
} |
|||
|
|||
public virtual Task<bool> ExistsAsync(BlobProviderExistsArgs args) |
|||
{ |
|||
throw new System.NotImplementedException(); |
|||
} |
|||
|
|||
public virtual Task<Stream> GetAsync(BlobProviderGetArgs args) |
|||
{ |
|||
throw new System.NotImplementedException(); |
|||
} |
|||
|
|||
public virtual Task<Stream> GetOrNullAsync(BlobProviderGetArgs args) |
|||
{ |
|||
throw new System.NotImplementedException(); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue