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 ITmtnSpotDevOpsContentService : IBaseService<TmtnSpotDevOpsContentViewModel>, IBaseServiceById<TmtnSpotDevOpsContentViewModel, Guid>
    {
        Task<IEnumerable<TmtnSpotDevOpsContentViewModel>> GetAllAsync();
        Task<IEnumerable<TmtnSpotDevOpsContentViewModel>> GetByConditionAsync(Expression<Func<TmtnSpotDevOpsContentViewModel, bool>> expression);
        Task UpdateAsync(string code, TmtnSpotDevOpsContentUpdateModel updateModel);
        Task<IEnumerable<TmtnSpotDevOpsContentViewModel>> GetConditionAsync(TmtnSpotDevOpsContentSearchModel searchModel);
        Task DeleteAsync(string code);
    }
}