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