Support for third party modules, improved error handling, standardardized enum naming, reorganized interface definitions, support for DB script upgrades, added Settings entity
This commit is contained in:
19
Oqtane.Client/Services/Interfaces/ISiteService.cs
Normal file
19
Oqtane.Client/Services/Interfaces/ISiteService.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Oqtane.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface ISiteService
|
||||
{
|
||||
Task<List<Site>> GetSitesAsync();
|
||||
|
||||
Task<Site> GetSiteAsync(int SiteId);
|
||||
|
||||
Task<Site> AddSiteAsync(Site Site);
|
||||
|
||||
Task<Site> UpdateSiteAsync(Site Site);
|
||||
|
||||
Task DeleteSiteAsync(int SiteId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user