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

namespace Ropin.Inspection.Service.Interface
{
    public interface ITispSpotContentService : IBaseService<TispSpotContentViewModel>, IBaseServiceById<TispSpotContentViewModel, Guid>
    {
        Task<IEnumerable<TispSpotContentViewModel>> GetAllAsync();
        Task<IEnumerable<TispSpotContentViewModel>> GetByConditionAsync(Expression<Func<TispSpotContentViewModel, bool>> expression);
        Task UpdateAsync(Guid id, TispSpotContentUpdateViewModel updateModel);
        IEnumerable<TispContentViewModel> GetBySpotIdAsync(Guid id);
    }
}