Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS Kit - Content app service renaming #7784

Merged
merged 1 commit into from
Feb 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

namespace Volo.CmsKit.Public.Contents
{
public interface IContentAppService
public interface IContentPublicAppService
{
Task<ContentDto> GetAsync(GetContentInput input);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Volo.CmsKit.Public.Contents
{
public class ContentPublicAppService : CmsKitAppServiceBase, IContentAppService
public class ContentPublicAppService : CmsKitPublicAppServiceBase, IContentPublicAppService
{
protected IContentRepository ContentRepository { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ namespace Volo.CmsKit.Public.Contents
[RemoteService(Name = CmsKitCommonRemoteServiceConsts.RemoteServiceName)]
[Area("cms-kit")]
[Route("api/cms-kit-public/contents")]
public class ContentController : CmsKitControllerBase, IContentAppService
public class ContentController : CmsKitControllerBase, IContentPublicAppService
{
protected readonly IContentAppService _contentAppService;
protected readonly IContentPublicAppService _contentAppService;

public ContentController(IContentAppService contentAppService)
public ContentController(IContentPublicAppService contentAppService)
{
_contentAppService = contentAppService;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ namespace Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Contents
public class ContentViewComponent : AbpViewComponent
{
private readonly IContentRenderer contentRenderer;
private readonly IContentAppService contentAppService;
private readonly IContentPublicAppService contentAppService;

public ContentViewComponent(
IContentRenderer contentRenderer,
IContentAppService contentAppService)
IContentPublicAppService contentAppService)
{
this.contentRenderer = contentRenderer;
this.contentAppService = contentAppService;
Expand Down