29 lines
1.1 KiB
C#
Executable File
29 lines
1.1 KiB
C#
Executable File
using Microsoft.Extensions.DependencyInjection;
|
|
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IRepositories;
|
|
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.IServices;
|
|
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
|
|
using Opsoft.NetCore.O3App.Shared;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
namespace Opsoft.NetCore.O3App.Services.BaseData
|
|
{
|
|
[MapTo(typeof(IAssetinventoryServices), ServiceLifetime.Transient)]
|
|
public class AssetinventoryServices : ServiceBase<IAS_ASSETSINVENTORY, IAssetinventoryRepository>, IAssetinventoryServices
|
|
{
|
|
public AssetinventoryServices(IAssetinventoryRepository repository) : base(repository)
|
|
{
|
|
Init(repository);
|
|
}
|
|
/// <summary>
|
|
/// 新闻列表显示方法
|
|
/// </summary>
|
|
/// <param name="data"></param>
|
|
/// <returns></returns>
|
|
public async Task<List<IAS_ASSETSINVENTORY>> GetAllAssetinventoryUnRead(object data)
|
|
{
|
|
|
|
return await (repository as IAssetinventoryRepository).GetAllAssetinventoryUnRead(data);
|
|
}
|
|
}
|
|
}
|