diff --git a/Oqtane.Client/Oqtane.Client.csproj.DotSettings b/Oqtane.Client/Oqtane.Client.csproj.DotSettings new file mode 100644 index 00000000..a2222887 --- /dev/null +++ b/Oqtane.Client/Oqtane.Client.csproj.DotSettings @@ -0,0 +1,2 @@ + + True \ No newline at end of file diff --git a/Oqtane.Client/Services/Interfaces/IAliasService.cs b/Oqtane.Client/Services/Interfaces/IAliasService.cs index f15356f1..89c25605 100644 --- a/Oqtane.Client/Services/Interfaces/IAliasService.cs +++ b/Oqtane.Client/Services/Interfaces/IAliasService.cs @@ -1,22 +1,55 @@ -using Oqtane.Models; +using Oqtane.Models; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { + /// + /// Retrieve and store information. + /// public interface IAliasService { + /// + /// Get all aliases in the system + /// + /// Task> GetAliasesAsync(); + /// + /// Get a single alias + /// + /// The ID, not to be confused with a ID + /// Task GetAliasAsync(int aliasId); + /// + /// Retrieve the Alias object of a URL. + /// + /// The URL - todoc - is this only the root, or can it be a longer path? + /// todoc - unclear what this is for + /// Task GetAliasAsync(string url, DateTime lastSyncDate); + /// + /// Save another in the DB. It must already contain all the information incl. it belongs to. + /// + /// An to add. + /// Task AddAliasAsync(Alias alias); + /// + /// Update an in the DB. Make sure the object is correctly filled, as it must update an existing record. + /// + /// The to update. + /// Task UpdateAliasAsync(Alias alias); + /// + /// Remove an from the DB. + /// + /// The Alias ID, not to be confused with a Site ID. + /// Task DeleteAliasAsync(int aliasId); } } diff --git a/Oqtane.Client/Services/Interfaces/IFileService.cs b/Oqtane.Client/Services/Interfaces/IFileService.cs index 7e10f4fd..ba6a88e1 100644 --- a/Oqtane.Client/Services/Interfaces/IFileService.cs +++ b/Oqtane.Client/Services/Interfaces/IFileService.cs @@ -1,4 +1,4 @@ -using Oqtane.Models; +using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks;