Owneat Technical Guide main Help

Interface IAllergenRepository

Namespace: Restaurant.Domain.Aggregates.ProductAggregate.Contracts
Assembly: Restaurant.Domain.dll

public interface IAllergenRepository : IRepository<Allergen>

Implements

IRepository<Allergen\>

Methods

GetAsync\(Expression<Func<Allergen, bool\>\>\)

Method that get an entity of type Restaurant.Domain.Aggregates.ProductAggregate.Allergen in the database that satisfy given System.Linq.Expressions.Expression.

Task<Allergen?> GetAsync(Expression<Func<Allergen, bool>> expression)

Parameters

expression Expression < Func < Allergen, bool \>\>

Returns

Task < Allergen ?\>

Remarks

This method includes related entities.

Last modified: 21 May 2024