public async Task <ActionResult <ProcedureModel> > Get(int id) { var procedureForRecipe = await _procedureService.GetProcedureForRecipe(id); if (procedureForRecipe == null) { return(NotFound()); } return(procedureForRecipe); }
public async Task <ActionResult <ProcedureModel> > Get(int id) { var procedureForRecipe = await _procedureService.GetProcedureForRecipe(id); if (procedureForRecipe == null) { return(NotFound()); } return(procedureForRecipe); }