using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace SessionCompanion.Services.Base { public interface IServiceBase : IDisposable { IEnumerable Get(); Task Get(int id); Task> Get(Expression> expresssion); Task Create(TViewModel viewModel); Task Update(int id, TViewModel viewModel); Task Delete(int id); Task SaveAsync(); } }