Owneat Technical Guide main Help

Interface IFoodLabelRepository

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

public interface IFoodLabelRepository : IRepository<FoodLabel>

Implements

IRepository<FoodLabel\>

Methods

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

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

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

Parameters

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

Returns

Task < FoodLabel ?\>

Remarks

This method includes related entities.

Last modified: 21 May 2024