Interface IAllergenRepository
Namespace: Restaurant.Domain.Aggregates.ProductAggregate.Contracts
Assembly: Restaurant.Domain.dll
public interface IAllergenRepository : IRepository<Allergen>
Implements
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
Remarks
This method includes related entities.
Last modified: 21 May 2024