using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WorkFlowCheck.Common.DTO; namespace WorkFlowCheck.BL.Services.Interfaces { public interface IUserService { Task GetUserAsync(int Id); Task> GetAllUserAsync(); Task UpdateUserAsync(UserDTO userDTO); Task Authenticate(string UserName, string Password); Task GetRoleAsync(int Id); Task> GetAllRoleAsync(); Task UpdateRoleAsync(RoleDTO roleDTO); Task GetUserRoleAsync(int Id); Task> GetAllUserRoleAsync(); Task UpdateUserRoleAsync(UserRoleDTO userRoleDTO); string GenerateJwtToken(UserDTO userDTO); } }