using Ropin.Inspection.Model;
using Ropin.Inspection.Service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Service
{
    public interface ITmtnDevOpsContentService : IBaseService<TmtnDevOpsContentViewModel>, IBaseServiceById<TmtnDevOpsContentViewModel, Guid>
    {
        Task<IEnumerable<TmtnDevOpsContentViewModel>> GetAllAsync();
        Task<IEnumerable<TmtnDevOpsContentViewModel>> GetByConditionAsync(Expression<Func<TmtnDevOpsContentViewModel, bool>> expression);
        Task UpdateAsync(string code, TmtnDevOpsContentUpdateModel updateModel);
        Task<IEnumerable<TmtnDevOpsContentViewModel>> GetConditionAsync(TmtnDevOpsContentSearchModel searchModel);
        Task DeleteAsync(string code);
    }
}