YD_SmartSports.Api/VOL.System/Services/System/Sys_DepartmentService.cs

28 lines
864 B
C#
Raw Normal View History

2025-06-06 16:00:39 +08:00
/*
*Authorjxx
*Contact283591387@qq.com
*,
*Partial文件夹下Sys_DepartmentService与ISys_DepartmentService中编写
*/
using VOL.System.IRepositories;
using VOL.System.IServices;
using VOL.Core.BaseProvider;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
namespace VOL.System.Services
{
public partial class Sys_DepartmentService : ServiceBase<Sys_Department, ISys_DepartmentRepository>
, ISys_DepartmentService, IDependency
{
public Sys_DepartmentService(ISys_DepartmentRepository repository)
: base(repository)
{
Init(repository);
}
public static ISys_DepartmentService Instance
{
get { return AutofacContainerModule.GetService<ISys_DepartmentService>(); } }
}
}