2023-01-14 18:16:16 +08:00
|
|
|
|
using System;
|
2023-01-12 14:58:16 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Yi.Framework.Application.Contracts.Student;
|
|
|
|
|
|
using Yi.Framework.Domain.Student;
|
2023-01-12 15:25:46 +08:00
|
|
|
|
using Yi.Framework.Domain.Student.IRepository;
|
2023-01-14 18:16:16 +08:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using NET.AutoWebApi.Setting;
|
|
|
|
|
|
using Microsoft.AspNetCore.Http;
|
2023-01-12 14:58:16 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Application.Student
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 服务实现
|
|
|
|
|
|
/// </summary>
|
2023-01-14 18:16:16 +08:00
|
|
|
|
public class StudentService : IStudentService, IAutoApiService
|
2023-01-12 14:58:16 +08:00
|
|
|
|
{
|
|
|
|
|
|
private readonly IStudentRepository _studentRepository;
|
|
|
|
|
|
private readonly StudentManager _studentManager;
|
|
|
|
|
|
public StudentService(IStudentRepository studentRepository, StudentManager studentManager )
|
|
|
|
|
|
{
|
|
|
|
|
|
_studentRepository = studentRepository;
|
|
|
|
|
|
_studentManager = studentManager;
|
|
|
|
|
|
}
|
2023-01-14 18:46:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 你好世界
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="aaa"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
public string PostShijie(string aaa)
|
2023-01-12 14:58:16 +08:00
|
|
|
|
{
|
2023-01-14 18:46:34 +08:00
|
|
|
|
return aaa;
|
2023-01-12 14:58:16 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|