using Grand.Domain.Pages;

namespace Grand.Business.System.Services.Installation
{
    public partial class InstallationService
    {
        protected virtual Task InstallPageLayouts()
        {
            var pageLayouts = new List<PageLayout>
                               {
                                   new PageLayout
                                       {
                                           Name = "Default layout",
                                           ViewPath = "PageDetails",
                                           DisplayOrder = 1
                                       }
                               };
            pageLayouts.ForEach(x=>_pageLayoutRepository.Insert(x));
            return Task.CompletedTask;
        }
    }
}
