Add dependency Injection
This commit is contained in:
11
Repositories/IGerbilRepository.cs
Normal file
11
Repositories/IGerbilRepository.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using GerbilManager.Models;
|
||||
|
||||
namespace GerbilManager.Repositories
|
||||
{
|
||||
public interface IGerbilRepository
|
||||
{
|
||||
IEnumerable<Gerbil> GetGerbils();
|
||||
|
||||
Gerbil GetGerbil(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user