Add the method "Get*ById" in the stack Business

This commit is contained in:
Sébastien André
2019-09-30 15:16:34 +02:00
parent ed3f7c42c5
commit c6c2777c22
16 changed files with 74 additions and 12 deletions

View File

@@ -8,5 +8,6 @@ namespace skydiveLogs_api.Data.Interface
public interface IAircraftRepository
{
IEnumerable<Aircraft> GetAllAircrafts();
Aircraft GetAircraftById(int id);
}
}

View File

@@ -8,5 +8,7 @@ namespace skydiveLogs_api.Data.Interface
public interface IDropZoneRepository
{
IEnumerable<DropZone> GetAllDzs();
DropZone GetDzById(int id);
}
}

View File

@@ -8,5 +8,6 @@ namespace skydiveLogs_api.Data.Interface
public interface IJumpRepository
{
IEnumerable<Jump> GetAllJumps();
Jump GetJumpById(int id);
}
}

View File

@@ -8,5 +8,6 @@ namespace skydiveLogs_api.Data.Interface
public interface IJumpTypeRepository
{
IEnumerable<JumpType> GetAllJumpTypes();
JumpType GetJumpTypeById(int id);
}
}