33 lines
976 B
C#
33 lines
976 B
C#
using Dapper;
|
|
using Furion.DatabaseAccessor;
|
|
using Furion.DependencyInjection;
|
|
using Furion.DynamicApiController;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ewide.Application.Service.HouseSafety.HouseInfo
|
|
{
|
|
public class HouseInfoService : IHouseInfoService, IDynamicApiController, ITransient
|
|
{
|
|
private readonly IRepository<BsHouseInfo> _houseInfoRep;
|
|
private readonly IDapperRepository _dapperRepository;
|
|
|
|
public HouseInfoService(IRepository<BsHouseInfo> HouseInfoRep, IDapperRepository dapperRepository)
|
|
{
|
|
_houseInfoRep = HouseInfoRep;
|
|
_dapperRepository = dapperRepository;
|
|
}
|
|
|
|
//[HttpGet("/houseInfo/getByTaskId")]
|
|
//public async Task<HouseInfoOutput> GetByTaskId([Required] string taskId)
|
|
//{
|
|
|
|
//}
|
|
}
|
|
}
|