28 lines
861 B
C#
28 lines
861 B
C#
/*
|
||
*Author:jxx
|
||
*Contact:283591387@qq.com
|
||
*代码由框架生成,此处任何更改都可能导致被代码生成器覆盖
|
||
*所有业务编写全部应在Partial文件夹下App_NewsService与IApp_NewsService中编写
|
||
*/
|
||
using VOL.AppManager.IRepositories;
|
||
using VOL.AppManager.IServices;
|
||
using VOL.Core.BaseProvider;
|
||
using VOL.Core.Extensions.AutofacManager;
|
||
using VOL.Entity.DomainModels;
|
||
|
||
namespace VOL.AppManager.Services
|
||
{
|
||
public partial class App_NewsService : ServiceBase<App_News, IApp_NewsRepository>, IApp_NewsService, IDependency
|
||
{
|
||
public App_NewsService(IApp_NewsRepository repository)
|
||
: base(repository)
|
||
{
|
||
Init(repository);
|
||
}
|
||
public static IApp_NewsService Instance
|
||
{
|
||
get { return AutofacContainerModule.GetService<IApp_NewsService>(); }
|
||
}
|
||
}
|
||
}
|