13 lines
266 B
C#
13 lines
266 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Emergence.services.Interface
|
|
{
|
|
public interface IService<T, I> where T : class
|
|
{
|
|
public Task<IList<T>> GetAllAsync();
|
|
public Task<T> GetByIdAsync(I id);
|
|
}
|
|
}
|