31 lines
672 B
C#
31 lines
672 B
C#
#region
|
|
|
|
using Web.Core.IServices.Base;
|
|
using Web.Core.Model.DTO;
|
|
using Web.Core.Model.Entity;
|
|
|
|
#endregion
|
|
|
|
namespace Web.Core.IServices.Myschool;
|
|
|
|
public interface IStudentService : IBaseServices<Student>
|
|
{
|
|
/// <summary>
|
|
/// 查询所有学生列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<Student>> GetStudent();
|
|
|
|
/// <summary>
|
|
/// 根据Id查询所有学生列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<Student> GetStudentById(int id);
|
|
|
|
/// <summary>
|
|
/// 获取学生详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
Task<StudentDto> GetStudentDetails(int id);
|
|
} |