using Data.SeaHavenIndustries; using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Identity; using SeaHavenIndustries.Helper.ViewModels; using SeaHavenIndustries.ViewModel; namespace SeaHavenIndustries.Data.IRepository { public interface ISettingsRepository { Task GetCurrentUserInfo(); Task UpdateUser(ApplicationUser model, IBrowserFile file); Task > GetAllCategories(); Task AddCategory(Category category); Task DeleteCategory(int categoryId); Task GetCategorById(int id); Task GetRoleById(string roleId); Task AddRole(string roleName); Task> GetRoles(); Task Changepassword(ChangePasswords changepassword); Task AddTemplate (Template template, List files); Task> GetTemplates(); Task ViewTemplate (int id); Task DeleteTemplate(int id); Task> GetUsers(); Task> GetLocations(); Task> GetContacts(); Task Getdashboarddata(); } }