Add action gathering functionality: implement ActionGathered model and repository, update Pet model and services, and enhance GameItemsRepository with item retrieval methods.
This commit is contained in:
@@ -17,6 +17,11 @@ namespace PetCompanion.Repositories
|
||||
return _context.GameItems.Find(id);
|
||||
}
|
||||
|
||||
public IEnumerable<GameItem> GetAll()
|
||||
{
|
||||
return _context.GameItems;
|
||||
}
|
||||
|
||||
public void Add(GameItem item)
|
||||
{
|
||||
_context.GameItems.Add(item);
|
||||
|
||||
Reference in New Issue
Block a user