Example #1
0
 def add(tag: Tag) -> Tag:
     return BaseService.add(tag)
Example #2
0
 def add(product: Product) -> Product:
     BaseService.is_duplicated(Product, "name", product.name)
     return BaseService.add(product)
Example #3
0
 def add(recipe_comment: RecipeComment) -> RecipeComment:
     return BaseService.add(recipe_comment)
Example #4
0
 def add(recipe_step: RecipeStep) -> RecipeStep:
     return BaseService.add(recipe_step)
Example #5
0
 def add(recipe_rating: RecipeRating) -> RecipeRating:
     return BaseService.add(recipe_rating)
Example #6
0
 def add(ingredient: Ingredient) -> Ingredient:
     return BaseService.add(ingredient)
Example #7
0
 def add(recipe: Recipe) -> Recipe:
     return BaseService.add(recipe)