using Furion.DynamicApiController; using Microsoft.AspNetCore.Mvc; using Nirvana.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Waste.Application.ResultInfos { /// /// 投放记录 /// public class ResultAppService:IDynamicApiController { private readonly IResultService _resultService; public ResultAppService(IResultService resultService) { _resultService = resultService; } /// /// 投放记录列表 /// /// /// [HttpPost] public async Task> GetListAsync(QueryParams param) { return await _resultService.GetListAsync(param); } /// /// 添加记录 /// /// /// public async Task InsertResultAsync(MyPackage myPackage) { return await _resultService.InsertResultAsync(myPackage); } } }