Files
TaskHybrid/Template.Shared/Core/Interface/IManageDataService.cs

15 lines
438 B
C#

using System.Linq.Expressions;
using Template.Shared.Core.Dto;
using Template.Shared.Core.Entity;
namespace Template.Shared.Core.Interface;
public interface IManageDataService
{
Task<List<T>> GetTable<T>(Expression<Func<T, bool>>? whereCond = null) where T : new();
Task<List<ActivityDTO>> GetActivity(Expression<Func<StbActivity, bool>>? whereCond = null);
Task InsertOrUpdate<T>(T objectToSave);
Task ClearDb();
}