using SlnMesnac.Model.domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SlnMesnac.Repository.service
{
    public interface ILogoFormulaService
    {
        
        /// <summary>
        /// 从本地查询所有型号用来展示
        /// </summary>
        /// <returns></returns>
        Task<List<LogoFormula>> GetListAsync();


        //TODO 修改、删除

        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="record"></param>
        /// <returns></returns>
        Task<bool> InsertAsync(LogoFormula record);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="record"></param>
        /// <returns></returns>
        Task<bool> DeleteAsync(LogoFormula record);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="record"></param>
        /// <returns></returns>
        Task<bool> UpdateAsync(LogoFormula record);

    }
}
