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:
@@ -69,7 +69,7 @@ namespace PetCompanion.Controllers
|
||||
{
|
||||
try
|
||||
{
|
||||
var updatedPet = petService.UpdatePetResources(petId, userId.ToString());
|
||||
var updatedPet = petService.CollectPetGathered(petId, userId.ToString());
|
||||
return Ok(updatedPet);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user