21 lines
665 B
C#
21 lines
665 B
C#
using CPRNIMS.Infrastructure.Dto.Account;
|
|
using CPRNIMS.Infrastructure.Entities.Account;
|
|
using CPRNIMS.Infrastructure.ViewModel.Account;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CPRNIMS.Domain.Contracts.Account
|
|
{
|
|
public interface IAccount
|
|
{
|
|
Task<List<UserRights>> GetUserRights(AccountDto accountDto);
|
|
Task<List<ControllerAccess>> GetControllerAccessByUserId(string userId);
|
|
Task<List<Departments>> GetDepartment();
|
|
Task<string> CreateToken(ApplicationUser user);
|
|
Task<UserRights> PutPostUserAccess(AccountDto itemDto);
|
|
}
|
|
}
|