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

namespace Ropin.Inspection.Repository.Interface
{
    public interface ITispSpotContentRepository : IRepositoryBase<TISP_SpotContent>, IRepositoryBaseById<TISP_SpotContent, Guid>
    {
        Task DeleteByConditionAsync(Expression<Func<TISP_SpotContent, bool>> expression);

        IEnumerable<TISP_Content> GetBySpotCodeAsync(Guid id);
        Task<int> DeleteBySpotIdAsync(Guid spotId);

    }
}