parent
9081d9a864
commit
18607e0265
@ -1,16 +1,14 @@ |
||||
using Tiobon.Core.IServices.BASE; |
||||
using Tiobon.Core.Model.Models; |
||||
using System.Threading.Tasks; |
||||
|
||||
namespace Tiobon.Core.IServices |
||||
namespace Tiobon.Core.IServices; |
||||
|
||||
/// <summary> |
||||
/// RoleServices |
||||
/// </summary> |
||||
public interface IRoleServices : IBaseServices<Role> |
||||
{ |
||||
/// <summary> |
||||
/// RoleServices |
||||
/// </summary> |
||||
public interface IRoleServices :IBaseServices<Role> |
||||
{ |
||||
Task<Role> SaveRole(string roleName); |
||||
Task<string> GetRoleNameByRid(int rid); |
||||
|
||||
} |
||||
} |
||||
|
@ -1,17 +1,15 @@ |
||||
using Tiobon.Core.IServices.BASE; |
||||
using Tiobon.Core.Model.Models; |
||||
using System.Threading.Tasks; |
||||
|
||||
namespace Tiobon.Core.IServices |
||||
namespace Tiobon.Core.IServices; |
||||
|
||||
/// <summary> |
||||
/// UserRoleServices |
||||
/// </summary> |
||||
public interface IUserRoleServices : IBaseServices<UserRole> |
||||
{ |
||||
/// <summary> |
||||
/// UserRoleServices |
||||
/// </summary> |
||||
public interface IUserRoleServices :IBaseServices<UserRole> |
||||
{ |
||||
|
||||
Task<UserRole> SaveUserRole(long uid, long rid); |
||||
Task<int> GetRoleIdByUid(long uid); |
||||
} |
||||
} |
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue