Update the repository pattern
This commit is contained in:
@@ -27,12 +27,12 @@ namespace skydiveLogs_api.Business
|
||||
|
||||
public IEnumerable<DropZone> GetAllDzs()
|
||||
{
|
||||
return _dropZoneRepository.GetAllDzs();
|
||||
return _dropZoneRepository.GetAll();
|
||||
}
|
||||
|
||||
public DropZone GetDzById(int id)
|
||||
{
|
||||
return _dropZoneRepository.GetDzById(id);
|
||||
return _dropZoneRepository.GetById(id);
|
||||
}
|
||||
|
||||
public void UpdateDz(int id, DropZone dropZone)
|
||||
|
||||
Reference in New Issue
Block a user