27 lines
770 B
C#
27 lines
770 B
C#
using Learn.Archives.API.Controllers.Dto;
|
|
using Learn.Archives.API.Expand;
|
|
using Learn.Archives.Core.Common;
|
|
using Learn.Archives.Core.Model;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Diagnostics;
|
|
using System.Security.Claims;
|
|
using UserCenter.Model;
|
|
|
|
namespace Learn.Archives.API.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 年级控制器
|
|
/// </summary>
|
|
public class GradeController : BackController<Grade>
|
|
{
|
|
readonly Repository<Grade> baseService;
|
|
readonly LiveUserInfo userInfo;
|
|
public GradeController(Repository<Grade> baseService, LiveUserInfo userInfo) : base(baseService)
|
|
{
|
|
this.baseService = baseService;
|
|
this.userInfo = userInfo;
|
|
}
|
|
}
|
|
}
|