using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { /// /// Service to manage s on a /// public interface IUrlMappingService { /// /// Get all s of this . /// /// /// ID-reference of a /// Task> GetUrlMappingsAsync(int siteId, bool isMapped); /// /// Get one specific /// /// ID-reference of a /// Task GetUrlMappingAsync(int urlMappingId); /// /// Get one specific /// /// ID-reference of a /// A url /// Task GetUrlMappingAsync(int siteId, string url); /// /// Add / save a new to the database. /// /// /// Task AddUrlMappingAsync(UrlMapping urlMapping); /// /// Update a in the database. /// /// /// Task UpdateUrlMappingAsync(UrlMapping urlMapping); /// /// Delete a in the database. /// /// ID-reference of a /// Task DeleteUrlMappingAsync(int urlMappingId); } }