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