Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

827 B
Raw Blame
using Grand.Domain.Common;

namespace Grand.Business.Core.Interfaces.Cms;

public interface IRobotsTxtService
{
    /// <summary>
    ///     Get a robots txt
    /// </summary>
    /// <param name="storeId">Store identifier</param>
    /// <returns>RobotsTxt</returns>
    Task<RobotsTxt> GetRobotsTxt(string storeId = "");

    /// <summary>
    ///     Insert a RobotsTxt
    /// </summary>
    /// <param name="robotsTxt">RobotsTxt</param>
    Task InsertRobotsTxt(RobotsTxt robotsTxt);

    /// <summary>
    ///     Update a RobotsTxt
    /// </summary>
    /// <param name="robotsTxt">RobotsTxt</param>
    Task UpdateRobotsTxt(RobotsTxt robotsTxt);

    /// <summary>
    ///     Delete a RobotsTxt
    /// </summary>
    /// <param name="robotsTxt">RobotsTxt</param>
    Task DeleteRobotsTxt(RobotsTxt robotsTxt);
}