using WorkFlowCheck.Common.DTO; namespace WorkFlowCheck.Web.Services.Interfaces { public interface IUserService { Task GetUser(int id); Task> GetAllUsers(); Task> UpdateUser(UserDTO userDTO); Task> Authenticate(string username, string password); Task> Authenticate2F1(string username, string password); Task> Authenticate2F2(string username, string password, string code, string token2FA); Task> Authenticate2F2ChangePassword(string username, string oldpassword,string newpassword, string code, string token2FA); Task DeleteUser(int id); Task GetRole(int id); Task> GetAllRoles(); Task> UpdateRole(RoleDTO roleDTO); Task DeleteRole(int id); Task GetUserRole(int id); Task> GetAllUserRoles(); Task> UpdateUserRole(UserRoleDTO userRoleDTO); Task DeleteUserRole(int id); Task GetRoleCheckListTemplateHeader(int id); Task> GetAllRoleCheckListTemplates(); Task> UpdateRoleCheckListTemplateHeader(RoleCheckListTemplateHeaderDTO roleCheckListTemplateHeaderDTO); Task DeleteRoleCheckListTemplateHeader(int id); Task GetRoleCheckPoint(int id); Task> GetAllRoleCheckPoints(); Task> UpdateRoleCheckPoint(RoleCheckPointDTO roleCheckPointDTO); Task DeleteRoleCheckPoint(int id); } }