| | |
| | | ***********************************************************************/ |
| | | |
| | | using CoreCms.Net.Model.Entities; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace CoreCms.Net.IServices |
| | | { |
| | |
| | | /// </summary> |
| | | public interface ICoreCmsUserGradeServices : IBaseServices<CoreCmsUserGrade> |
| | | { |
| | | /// <summary> |
| | | /// 根据key获取用户等级/分组 |
| | | /// </summary> |
| | | /// <param name="Key"></param> |
| | | /// <returns></returns> |
| | | public Task<CoreCmsUserGrade> GetUserGradeByValueKey(string Key); |
| | | /// <summary> |
| | | /// 获取默认用户组 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public Task<CoreCmsUserGrade> GetDefaultUserGrade(); |
| | | |
| | | } |
| | | |
| | | |
| | | } |