Esempio n. 1
0
        public async Task <IActionResult> ScheduleGromming(long id, [FromBody] PetGrommingModel model)
        {
            if (!(await CheckPetExistsById(id)))
            {
                return(NotFound());
            }

            await _petsRepository.LogPetGromming(id, model.AppointmentDate);

            return(Ok());
        }