Browse Source

use protected property instead of variable

pull/7755/head
Ilkay Ilknur 6 years ago
parent
commit
cd3bd24c70
  1. 2
      modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Contents/ContentPublicAppService.cs

2
modules/cms-kit/src/Volo.CmsKit.Public.Application/Volo/CmsKit/Public/Contents/ContentPublicAppService.cs

@ -5,7 +5,7 @@ namespace Volo.CmsKit.Public.Contents
{ {
public class ContentPublicAppService : CmsKitAppServiceBase, IContentAppService public class ContentPublicAppService : CmsKitAppServiceBase, IContentAppService
{ {
protected readonly IContentRepository ContentRepository; protected IContentRepository ContentRepository { get; }
public ContentPublicAppService(IContentRepository contentRepository) public ContentPublicAppService(IContentRepository contentRepository)
{ {

Loading…
Cancel
Save