using Microsoft.Extensions.Logging; using SlnMesnac.Model.domain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlnMesnac.Repository.service.Impl { public class LogoFormulaImpl : ILogoFormulaService { private readonly ILogger _logger; private readonly Repository _rep; public LogoFormulaImpl(ILogger logger, Repository rep) { _logger = logger; _rep = rep; } public async Task> GetListAsync() { List list = null; list = await _rep.GetListAsync(); return list; } /// /// 修改 /// /// /// public async Task UpdateAsync(LogoFormula record) { bool result = await _rep.UpdateAsync(record); return result; } /// /// 删除 /// /// /// public async Task DeleteAsync(LogoFormula record) { bool result = await _rep.DeleteAsync(record); return result; } /// /// 新增 /// /// /// public async Task InsertAsync(LogoFormula record) { bool result = await _rep.InsertAsync(record); return result; } } }