Add a property "IsFavorite" for the drop zone.
This commit is contained in:
@@ -35,9 +35,10 @@ namespace skydiveLogs_api.Business
|
||||
return _dropZoneRepository.GetById(id);
|
||||
}
|
||||
|
||||
public void UpdateDz(int id, DropZone dropZone)
|
||||
public bool UpdateDz(int id, DropZone dropZone)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
dropZone.Id = id;
|
||||
return _dropZoneRepository.Update(dropZone);
|
||||
}
|
||||
|
||||
private readonly IDropZoneRepository _dropZoneRepository;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
using skydiveLogs_api.Model;
|
||||
|
||||
namespace skydiveLogs_api.Business.Interface
|
||||
@@ -13,7 +11,7 @@ namespace skydiveLogs_api.Business.Interface
|
||||
|
||||
void DeleteDzById(int id);
|
||||
|
||||
void UpdateDz(int id, DropZone dropZone);
|
||||
bool UpdateDz(int id, DropZone dropZone);
|
||||
|
||||
void AddNewDz(DropZone dropZone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user