public async Task <ActionResult> EditDog([FromRoute] long dogId) { var dog = await dogService.FindDogById(dogId); if (dog == null) { return(BadRequest("Nem található kutya")); } return(Ok(dog)); }
public async Task <ActionResult> EditDog([FromRoute] long dogId) { var dog = await dogService.FindDogById(dogId); if (dog == null) { return(BadRequest("Nem található kutya")); } return(Ok(dog)); }