Files
Yi.Admin/src/Yi.Framework/Yi.Framework.Application/Student/StudentService.cs
陈淳 318cfb5fe2 修改各层关系
领域层不能依赖sqlsugar层
sqlsugar层依赖领域层
2023-01-12 15:25:46 +08:00

33 lines
948 B
C#

using Panda.DynamicWebApi;
using Panda.DynamicWebApi.Attributes;
using System;
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;
using Yi.Framework.Domain.Student.IRepository;
namespace Yi.Framework.Application.Student
{
/// <summary>
/// 服务实现
/// </summary>
[DynamicWebApi]
public class StudentService : IStudentService, IDynamicWebApi
{
private readonly IStudentRepository _studentRepository;
private readonly StudentManager _studentManager;
public StudentService(IStudentRepository studentRepository, StudentManager studentManager )
{
_studentRepository = studentRepository;
_studentManager = studentManager;
}
public string GetShijie()
{
return "你好世界";
}
}
}