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