Client fixes
Client is partially done. 227 warnings left out of 1500 I like Rider
This commit is contained in:
@ -9,14 +9,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
Task<List<Alias>> GetAliasesAsync();
|
||||
|
||||
Task<Alias> GetAliasAsync(int AliasId);
|
||||
Task<Alias> GetAliasAsync(int aliasId);
|
||||
|
||||
Task<Alias> GetAliasAsync(string Url, DateTime LastSyncDate);
|
||||
Task<Alias> GetAliasAsync(string url, DateTime lastSyncDate);
|
||||
|
||||
Task<Alias> AddAliasAsync(Alias Alias);
|
||||
Task<Alias> AddAliasAsync(Alias alias);
|
||||
|
||||
Task<Alias> UpdateAliasAsync(Alias Alias);
|
||||
Task<Alias> UpdateAliasAsync(Alias alias);
|
||||
|
||||
Task DeleteAliasAsync(int AliasId);
|
||||
Task DeleteAliasAsync(int aliasId);
|
||||
}
|
||||
}
|
||||
|
@ -6,16 +6,16 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IFileService
|
||||
{
|
||||
Task<List<File>> GetFilesAsync(int FolderId);
|
||||
Task<List<File>> GetFilesAsync(string Folder);
|
||||
Task<File> GetFileAsync(int FileId);
|
||||
Task<File> AddFileAsync(File File);
|
||||
Task<File> UpdateFileAsync(File File);
|
||||
Task DeleteFileAsync(int FileId);
|
||||
Task<File> UploadFileAsync(string Url, int FolderId);
|
||||
Task<string> UploadFilesAsync(int FolderId, string[] Files, string FileUploadName);
|
||||
Task<string> UploadFilesAsync(string Folder, string[] Files, string FileUploadName);
|
||||
Task<byte[]> DownloadFileAsync(int FileId);
|
||||
Task<List<File>> GetFilesAsync(int folderId);
|
||||
Task<List<File>> GetFilesAsync(string folder);
|
||||
Task<File> GetFileAsync(int fileId);
|
||||
Task<File> AddFileAsync(File file);
|
||||
Task<File> UpdateFileAsync(File file);
|
||||
Task DeleteFileAsync(int fileId);
|
||||
Task<File> UploadFileAsync(string url, int folderId);
|
||||
Task<string> UploadFilesAsync(int folderId, string[] files, string fileUploadName);
|
||||
Task<string> UploadFilesAsync(string folder, string[] files, string fileUploadName);
|
||||
Task<byte[]> DownloadFileAsync(int fileId);
|
||||
|
||||
Task<List<File>> GetFilesAsync(int siteId, string folderPath);
|
||||
}
|
||||
|
@ -7,12 +7,12 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IFolderService
|
||||
{
|
||||
Task<List<Folder>> GetFoldersAsync(int SiteId);
|
||||
Task<Folder> GetFolderAsync(int FolderId);
|
||||
Task<Folder> AddFolderAsync(Folder Folder);
|
||||
Task<Folder> UpdateFolderAsync(Folder Folder);
|
||||
Task UpdateFolderOrderAsync(int SiteId, int FolderId, int? ParentId);
|
||||
Task DeleteFolderAsync(int FolderId);
|
||||
Task<List<Folder>> GetFoldersAsync(int siteId);
|
||||
Task<Folder> GetFolderAsync(int folderId);
|
||||
Task<Folder> AddFolderAsync(Folder folder);
|
||||
Task<Folder> UpdateFolderAsync(Folder folder);
|
||||
Task UpdateFolderOrderAsync(int siteId, int folderId, int? parentId);
|
||||
Task DeleteFolderAsync(int folderId);
|
||||
Task<Folder> GetFolderAsync(int siteId, [NotNull]string folderPath);
|
||||
}
|
||||
}
|
||||
|
@ -8,12 +8,12 @@ namespace Oqtane.Services
|
||||
{
|
||||
Task<List<JobLog>> GetJobLogsAsync();
|
||||
|
||||
Task<JobLog> GetJobLogAsync(int JobLogId);
|
||||
Task<JobLog> GetJobLogAsync(int jobLogId);
|
||||
|
||||
Task<JobLog> AddJobLogAsync(JobLog JobLog);
|
||||
Task<JobLog> AddJobLogAsync(JobLog jobLog);
|
||||
|
||||
Task<JobLog> UpdateJobLogAsync(JobLog JobLog);
|
||||
Task<JobLog> UpdateJobLogAsync(JobLog jobLog);
|
||||
|
||||
Task DeleteJobLogAsync(int JobLogId);
|
||||
Task DeleteJobLogAsync(int jobLogId);
|
||||
}
|
||||
}
|
||||
|
@ -8,16 +8,16 @@ namespace Oqtane.Services
|
||||
{
|
||||
Task<List<Job>> GetJobsAsync();
|
||||
|
||||
Task<Job> GetJobAsync(int JobId);
|
||||
Task<Job> GetJobAsync(int jobId);
|
||||
|
||||
Task<Job> AddJobAsync(Job Job);
|
||||
Task<Job> AddJobAsync(Job job);
|
||||
|
||||
Task<Job> UpdateJobAsync(Job Job);
|
||||
Task<Job> UpdateJobAsync(Job job);
|
||||
|
||||
Task DeleteJobAsync(int JobId);
|
||||
Task DeleteJobAsync(int jobId);
|
||||
|
||||
Task StartJobAsync(int JobId);
|
||||
Task StartJobAsync(int jobId);
|
||||
|
||||
Task StopJobAsync(int JobId);
|
||||
Task StopJobAsync(int jobId);
|
||||
}
|
||||
}
|
||||
|
@ -3,14 +3,15 @@ using Oqtane.Shared;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Oqtane.Enums;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface ILogService
|
||||
{
|
||||
Task<List<Log>> GetLogsAsync(int SiteId, string Level, string Function, int Rows);
|
||||
Task<Log> GetLogAsync(int LogId);
|
||||
Task Log(int? PageId, int? ModuleId, int? UserId, string category, string feature, LogFunction function, LogLevel level, Exception exception, string message, params object[] args);
|
||||
Task Log(Alias Alias, int? PageId, int? ModuleId, int? UserId, string category, string feature, LogFunction function, LogLevel level, Exception exception, string message, params object[] args);
|
||||
Task<List<Log>> GetLogsAsync(int siteId, string level, string function, int rows);
|
||||
Task<Log> GetLogAsync(int logId);
|
||||
Task Log(int? pageId, int? moduleId, int? userId, string category, string feature, LogFunction function, LogLevel level, Exception exception, string message, params object[] args);
|
||||
Task Log(Alias alias, int? pageId, int? moduleId, int? userId, string category, string feature, LogFunction function, LogLevel level, Exception exception, string message, params object[] args);
|
||||
}
|
||||
}
|
||||
|
@ -6,11 +6,11 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IModuleDefinitionService
|
||||
{
|
||||
Task<List<ModuleDefinition>> GetModuleDefinitionsAsync(int SiteId);
|
||||
Task<ModuleDefinition> GetModuleDefinitionAsync(int ModuleDefinitionId, int SiteId);
|
||||
Task UpdateModuleDefinitionAsync(ModuleDefinition ModuleDefinition);
|
||||
Task<List<ModuleDefinition>> GetModuleDefinitionsAsync(int siteId);
|
||||
Task<ModuleDefinition> GetModuleDefinitionAsync(int moduleDefinitionId, int siteId);
|
||||
Task UpdateModuleDefinitionAsync(ModuleDefinition moduleDefinition);
|
||||
Task InstallModuleDefinitionsAsync();
|
||||
Task DeleteModuleDefinitionAsync(int ModuleDefinitionId, int SiteId);
|
||||
Task LoadModuleDefinitionsAsync(int SiteId);
|
||||
Task DeleteModuleDefinitionAsync(int moduleDefinitionId, int siteId);
|
||||
Task LoadModuleDefinitionsAsync(int siteId);
|
||||
}
|
||||
}
|
||||
|
@ -6,12 +6,12 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IModuleService
|
||||
{
|
||||
Task<List<Module>> GetModulesAsync(int SiteId);
|
||||
Task<Module> GetModuleAsync(int ModuleId);
|
||||
Task<Module> AddModuleAsync(Module Module);
|
||||
Task<Module> UpdateModuleAsync(Module Module);
|
||||
Task DeleteModuleAsync(int ModuleId);
|
||||
Task<bool> ImportModuleAsync(int ModuleId, string Content);
|
||||
Task<string> ExportModuleAsync(int ModuleId);
|
||||
Task<List<Module>> GetModulesAsync(int siteId);
|
||||
Task<Module> GetModuleAsync(int moduleId);
|
||||
Task<Module> AddModuleAsync(Module module);
|
||||
Task<Module> UpdateModuleAsync(Module module);
|
||||
Task DeleteModuleAsync(int moduleId);
|
||||
Task<bool> ImportModuleAsync(int moduleId, string content);
|
||||
Task<string> ExportModuleAsync(int moduleId);
|
||||
}
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface INotificationService
|
||||
{
|
||||
Task<List<Notification>> GetNotificationsAsync(int SiteId, string Direction, int UserId);
|
||||
Task<List<Notification>> GetNotificationsAsync(int siteId, string direction, int userId);
|
||||
|
||||
Task<Notification> GetNotificationAsync(int NotificationId);
|
||||
Task<Notification> GetNotificationAsync(int notificationId);
|
||||
|
||||
Task<Notification> AddNotificationAsync(Notification Notification);
|
||||
Task<Notification> AddNotificationAsync(Notification notification);
|
||||
|
||||
Task<Notification> UpdateNotificationAsync(Notification Notification);
|
||||
Task<Notification> UpdateNotificationAsync(Notification notification);
|
||||
|
||||
Task DeleteNotificationAsync(int NotificationId);
|
||||
Task DeleteNotificationAsync(int notificationId);
|
||||
}
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IPackageService
|
||||
{
|
||||
Task<List<Package>> GetPackagesAsync(string Tag);
|
||||
Task DownloadPackageAsync(string PackageId, string Version, string Folder);
|
||||
Task<List<Package>> GetPackagesAsync(string tag);
|
||||
Task DownloadPackageAsync(string packageId, string version, string folder);
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +1,15 @@
|
||||
using Oqtane.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface IPageModuleService
|
||||
{
|
||||
Task<PageModule> GetPageModuleAsync(int PageModuleId);
|
||||
Task<PageModule> GetPageModuleAsync(int PageId, int ModuleId);
|
||||
Task<PageModule> AddPageModuleAsync(PageModule PageModule);
|
||||
Task<PageModule> UpdatePageModuleAsync(PageModule PageModule);
|
||||
Task UpdatePageModuleOrderAsync(int PageId, string Pane);
|
||||
Task DeletePageModuleAsync(int PageModuleId);
|
||||
Task<PageModule> GetPageModuleAsync(int pageModuleId);
|
||||
Task<PageModule> GetPageModuleAsync(int pageId, int moduleId);
|
||||
Task<PageModule> AddPageModuleAsync(PageModule pageModule);
|
||||
Task<PageModule> UpdatePageModuleAsync(PageModule pageModule);
|
||||
Task UpdatePageModuleOrderAsync(int pageId, string pane);
|
||||
Task DeletePageModuleAsync(int pageModuleId);
|
||||
}
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IPageService
|
||||
{
|
||||
Task<List<Page>> GetPagesAsync(int SiteId);
|
||||
Task<Page> GetPageAsync(int PageId);
|
||||
Task<Page> GetPageAsync(int PageId, int UserId);
|
||||
Task<Page> GetPageAsync(string Path, int SiteId);
|
||||
Task<Page> AddPageAsync(Page Page);
|
||||
Task<Page> AddPageAsync(int PageId, int UserId);
|
||||
Task<Page> UpdatePageAsync(Page Page);
|
||||
Task UpdatePageOrderAsync(int SiteId, int PageId, int? ParentId);
|
||||
Task DeletePageAsync(int PageId);
|
||||
Task<List<Page>> GetPagesAsync(int siteId);
|
||||
Task<Page> GetPageAsync(int pageId);
|
||||
Task<Page> GetPageAsync(int pageId, int userId);
|
||||
Task<Page> GetPageAsync(string path, int siteId);
|
||||
Task<Page> AddPageAsync(Page page);
|
||||
Task<Page> AddPageAsync(int pageId, int userId);
|
||||
Task<Page> UpdatePageAsync(Page page);
|
||||
Task UpdatePageOrderAsync(int siteId, int pageId, int? parentId);
|
||||
Task DeletePageAsync(int pageId);
|
||||
}
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IProfileService
|
||||
{
|
||||
Task<List<Profile>> GetProfilesAsync(int SiteId);
|
||||
Task<List<Profile>> GetProfilesAsync(int siteId);
|
||||
|
||||
Task<Profile> GetProfileAsync(int ProfileId);
|
||||
Task<Profile> GetProfileAsync(int profileId);
|
||||
|
||||
Task<Profile> AddProfileAsync(Profile Profile);
|
||||
Task<Profile> AddProfileAsync(Profile profile);
|
||||
|
||||
Task<Profile> UpdateProfileAsync(Profile Profile);
|
||||
Task<Profile> UpdateProfileAsync(Profile profile);
|
||||
|
||||
Task DeleteProfileAsync(int ProfileId);
|
||||
Task DeleteProfileAsync(int profileId);
|
||||
}
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IRoleService
|
||||
{
|
||||
Task<List<Role>> GetRolesAsync(int SiteId);
|
||||
Task<List<Role>> GetRolesAsync(int siteId);
|
||||
|
||||
Task<Role> GetRoleAsync(int RoleId);
|
||||
Task<Role> GetRoleAsync(int roleId);
|
||||
|
||||
Task<Role> AddRoleAsync(Role Role);
|
||||
Task<Role> AddRoleAsync(Role role);
|
||||
|
||||
Task<Role> UpdateRoleAsync(Role Role);
|
||||
Task<Role> UpdateRoleAsync(Role role);
|
||||
|
||||
Task DeleteRoleAsync(int RoleId);
|
||||
Task DeleteRoleAsync(int roleId);
|
||||
}
|
||||
}
|
||||
|
@ -8,48 +8,48 @@ namespace Oqtane.Services
|
||||
{
|
||||
Task<Dictionary<string, string>> GetHostSettingsAsync();
|
||||
|
||||
Task UpdateHostSettingsAsync(Dictionary<string, string> HostSettings);
|
||||
Task UpdateHostSettingsAsync(Dictionary<string, string> hostSettings);
|
||||
|
||||
Task<Dictionary<string, string>> GetSiteSettingsAsync(int SiteId);
|
||||
Task<Dictionary<string, string>> GetSiteSettingsAsync(int siteId);
|
||||
|
||||
Task UpdateSiteSettingsAsync(Dictionary<string, string> SiteSettings, int SiteId);
|
||||
Task UpdateSiteSettingsAsync(Dictionary<string, string> siteSettings, int siteId);
|
||||
|
||||
Task<Dictionary<string, string>> GetPageSettingsAsync(int PageId);
|
||||
Task<Dictionary<string, string>> GetPageSettingsAsync(int pageId);
|
||||
|
||||
Task UpdatePageSettingsAsync(Dictionary<string, string> PageSettings, int PageId);
|
||||
Task UpdatePageSettingsAsync(Dictionary<string, string> pageSettings, int pageId);
|
||||
|
||||
Task<Dictionary<string, string>> GetPageModuleSettingsAsync(int PageModuleId);
|
||||
Task<Dictionary<string, string>> GetPageModuleSettingsAsync(int pageModuleId);
|
||||
|
||||
Task UpdatePageModuleSettingsAsync(Dictionary<string, string> PageModuleSettings, int PageModuleId);
|
||||
Task UpdatePageModuleSettingsAsync(Dictionary<string, string> pageModuleSettings, int pageModuleId);
|
||||
|
||||
Task<Dictionary<string, string>> GetModuleSettingsAsync(int ModuleId);
|
||||
Task<Dictionary<string, string>> GetModuleSettingsAsync(int moduleId);
|
||||
|
||||
Task UpdateModuleSettingsAsync(Dictionary<string, string> ModuleSettings, int ModuleId);
|
||||
Task UpdateModuleSettingsAsync(Dictionary<string, string> moduleSettings, int moduleId);
|
||||
|
||||
Task<Dictionary<string, string>> GetUserSettingsAsync(int UserId);
|
||||
Task<Dictionary<string, string>> GetUserSettingsAsync(int userId);
|
||||
|
||||
Task UpdateUserSettingsAsync(Dictionary<string, string> UserSettings, int UserId);
|
||||
Task UpdateUserSettingsAsync(Dictionary<string, string> userSettings, int userId);
|
||||
|
||||
Task<Dictionary<string, string>> GetFolderSettingsAsync(int FolderId);
|
||||
Task<Dictionary<string, string>> GetFolderSettingsAsync(int folderId);
|
||||
|
||||
Task UpdateFolderSettingsAsync(Dictionary<string, string> FolderSettings, int FolderId);
|
||||
Task UpdateFolderSettingsAsync(Dictionary<string, string> folderSettings, int folderId);
|
||||
|
||||
Task<Dictionary<string, string>> GetSettingsAsync(string EntityName, int EntityId);
|
||||
Task<Dictionary<string, string>> GetSettingsAsync(string entityName, int entityId);
|
||||
|
||||
Task UpdateSettingsAsync(Dictionary<string, string> Settings, string EntityName, int EntityId);
|
||||
Task UpdateSettingsAsync(Dictionary<string, string> settings, string entityName, int entityId);
|
||||
|
||||
|
||||
Task<Setting> GetSettingAsync(int SettingId);
|
||||
Task<Setting> GetSettingAsync(int settingId);
|
||||
|
||||
Task<Setting> AddSettingAsync(Setting Setting);
|
||||
Task<Setting> AddSettingAsync(Setting setting);
|
||||
|
||||
Task<Setting> UpdateSettingAsync(Setting Setting);
|
||||
Task<Setting> UpdateSettingAsync(Setting setting);
|
||||
|
||||
Task DeleteSettingAsync(int SettingId);
|
||||
Task DeleteSettingAsync(int settingId);
|
||||
|
||||
|
||||
string GetSetting(Dictionary<string, string> Settings, string SettingName, string DefaultValue);
|
||||
string GetSetting(Dictionary<string, string> settings, string settingName, string defaultValue);
|
||||
|
||||
Dictionary<string, string> SetSetting(Dictionary<string, string> Settings, string SettingName, string SettingValue);
|
||||
Dictionary<string, string> SetSetting(Dictionary<string, string> settings, string settingName, string settingValue);
|
||||
}
|
||||
}
|
||||
|
@ -6,14 +6,14 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface ISiteService
|
||||
{
|
||||
Task<List<Site>> GetSitesAsync(Alias Alias);
|
||||
Task<List<Site>> GetSitesAsync(Alias alias);
|
||||
|
||||
Task<Site> GetSiteAsync(int SiteId, Alias Alias);
|
||||
Task<Site> GetSiteAsync(int siteId, Alias alias);
|
||||
|
||||
Task<Site> AddSiteAsync(Site Site, Alias Alias);
|
||||
Task<Site> AddSiteAsync(Site site, Alias alias);
|
||||
|
||||
Task<Site> UpdateSiteAsync(Site Site, Alias Alias);
|
||||
Task<Site> UpdateSiteAsync(Site site, Alias alias);
|
||||
|
||||
Task DeleteSiteAsync(int SiteId, Alias Alias);
|
||||
Task DeleteSiteAsync(int siteId, Alias alias);
|
||||
}
|
||||
}
|
||||
|
@ -8,12 +8,12 @@ namespace Oqtane.Services
|
||||
{
|
||||
Task<List<Tenant>> GetTenantsAsync();
|
||||
|
||||
Task<Tenant> GetTenantAsync(int TenantId);
|
||||
Task<Tenant> GetTenantAsync(int tenantId);
|
||||
|
||||
Task<Tenant> AddTenantAsync(Tenant Tenant);
|
||||
Task<Tenant> AddTenantAsync(Tenant tenant);
|
||||
|
||||
Task<Tenant> UpdateTenantAsync(Tenant Tenant);
|
||||
Task<Tenant> UpdateTenantAsync(Tenant tenant);
|
||||
|
||||
Task DeleteTenantAsync(int TenantId);
|
||||
Task DeleteTenantAsync(int tenantId);
|
||||
}
|
||||
}
|
||||
|
@ -7,10 +7,10 @@ namespace Oqtane.Services
|
||||
public interface IThemeService
|
||||
{
|
||||
Task<List<Theme>> GetThemesAsync();
|
||||
Dictionary<string, string> GetThemeTypes(List<Theme> Themes);
|
||||
Dictionary<string, string> GetPaneLayoutTypes(List<Theme> Themes, string ThemeName);
|
||||
Dictionary<string, string> GetContainerTypes(List<Theme> Themes);
|
||||
Dictionary<string, string> GetThemeTypes(List<Theme> themes);
|
||||
Dictionary<string, string> GetPaneLayoutTypes(List<Theme> themes, string themeName);
|
||||
Dictionary<string, string> GetContainerTypes(List<Theme> themes);
|
||||
Task InstallThemesAsync();
|
||||
Task DeleteThemeAsync(string ThemeName);
|
||||
Task DeleteThemeAsync(string themeName);
|
||||
}
|
||||
}
|
||||
|
@ -6,10 +6,10 @@ namespace Oqtane.Services
|
||||
{
|
||||
public interface IUserRoleService
|
||||
{
|
||||
Task<List<UserRole>> GetUserRolesAsync(int SiteId);
|
||||
Task<UserRole> GetUserRoleAsync(int UserRoleId);
|
||||
Task<UserRole> AddUserRoleAsync(UserRole UserRole);
|
||||
Task<UserRole> UpdateUserRoleAsync(UserRole UserRole);
|
||||
Task DeleteUserRoleAsync(int UserRoleId);
|
||||
Task<List<UserRole>> GetUserRolesAsync(int siteId);
|
||||
Task<UserRole> GetUserRoleAsync(int userRoleId);
|
||||
Task<UserRole> AddUserRoleAsync(UserRole userRole);
|
||||
Task<UserRole> UpdateUserRoleAsync(UserRole userRole);
|
||||
Task DeleteUserRoleAsync(int userRoleId);
|
||||
}
|
||||
}
|
||||
|
@ -1,31 +1,30 @@
|
||||
using Oqtane.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface IUserService
|
||||
{
|
||||
Task<User> GetUserAsync(int UserId, int SiteId);
|
||||
Task<User> GetUserAsync(int userId, int siteId);
|
||||
|
||||
Task<User> GetUserAsync(string Username, int SiteId);
|
||||
Task<User> GetUserAsync(string username, int siteId);
|
||||
|
||||
Task<User> AddUserAsync(User User);
|
||||
Task<User> AddUserAsync(User user);
|
||||
|
||||
Task<User> AddUserAsync(User User, Alias Alias);
|
||||
Task<User> AddUserAsync(User user, Alias alias);
|
||||
|
||||
Task<User> UpdateUserAsync(User User);
|
||||
Task<User> UpdateUserAsync(User user);
|
||||
|
||||
Task DeleteUserAsync(int UserId);
|
||||
Task DeleteUserAsync(int userId);
|
||||
|
||||
Task<User> LoginUserAsync(User User, bool SetCookie, bool IsPersistent);
|
||||
Task<User> LoginUserAsync(User user, bool setCookie, bool isPersistent);
|
||||
|
||||
Task LogoutUserAsync(User User);
|
||||
Task LogoutUserAsync(User user);
|
||||
|
||||
Task<User> VerifyEmailAsync(User User, string Token);
|
||||
Task<User> VerifyEmailAsync(User user, string token);
|
||||
|
||||
Task ForgotPasswordAsync(User User);
|
||||
Task ForgotPasswordAsync(User user);
|
||||
|
||||
Task<User> ResetPasswordAsync(User User, string Token);
|
||||
Task<User> ResetPasswordAsync(User user, string token);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user