ildar-shaymukhametov_grandnode-refactorings/Grand.Services/Common/IViewRenderService.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Grand.Services.Common
{
    /// <summary>
    /// Allow render rezor view as string
    /// </summary>
    public interface IViewRenderService
    {
        Task<string> RenderToStringAsync<T>(string viewPath, T model);
    }
}
