mirror of https://github.com/abpframework/abp.git
4 changed files with 43 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace Volo.CmsKit.Admin.Application.Contracts.Volo.CmsKit.Admin.Blogs |
||||
|
{ |
||||
|
public class BlogLookupDto |
||||
|
{ |
||||
|
public BlogLookupDto(Guid id, string name) |
||||
|
{ |
||||
|
Id = id; |
||||
|
Name = name; |
||||
|
} |
||||
|
|
||||
|
public Guid Id { get; set; } |
||||
|
public string Name { get; set; } |
||||
|
} |
||||
|
} |
||||
@ -1,9 +1,13 @@ |
|||||
using System; |
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
using Volo.Abp.Application.Services; |
using Volo.Abp.Application.Services; |
||||
|
using Volo.CmsKit.Admin.Application.Contracts.Volo.CmsKit.Admin.Blogs; |
||||
|
|
||||
namespace Volo.CmsKit.Admin.Blogs |
namespace Volo.CmsKit.Admin.Blogs |
||||
{ |
{ |
||||
public interface IBlogAdminAppService : ICrudAppService<BlogDto, Guid> |
public interface IBlogAdminAppService : ICrudAppService<BlogDto, Guid> |
||||
{ |
{ |
||||
|
Task<List<BlogLookupDto>> GetLookupAsync(); |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue