public void OnGet(Guid id, string login)
        {
            recipe = _service.Get(id);
            try
            {
                recipe_Ingredient = _ingredientService.GetById(recipe.id);
            }
            catch (InvalidOperationException)
            {
                goto NoInredients;
            }
NoInredients:
            try
            {
                recipe_Type = _typeService.GetById(recipe.id);
            }
            catch (InvalidOperationException)
            {
                goto NoTypes;
            }
NoTypes:
            //recipe_Ingredient = _ingredientService.GetByName(recipe.Name);
            //recipe_Type = _typeService.GetByName(recipe.Name);
            user = _userService.GetByLogin(login);
        }