Interface ICategoryRepository
Namespace: Restaurant.Domain.Aggregates.CategoryAggregate.Contracts
Assembly: Restaurant.Domain.dll
Implements
Methods
GetAsync\(Expression<Func<Category, bool\>\>\)
Method that get an entity of type Restaurant.Domain.Aggregates.CategoryAggregate.Category in the database that satisfy given System.Linq.Expressions.Expression.
Parameters
expression Expression < Func < Category, bool \>\>
Returns
Remarks
This method includes related entities.
GetByGuidListAsync\(IEnumerable<Guid\>\)
Method that get a list of type Restaurant.Domain.Aggregates.CategoryAggregate.Category in the database that satisfy given System.Linq.Expressions.Expression.
Parameters
productIds IEnumerable < Guid \>
Returns
Task < IEnumerable < Category \>\>
GetListAsync\(Expression<Func<Category, bool\>\>\)
Method that get a list of type Restaurant.Domain.Aggregates.CategoryAggregate.Category in the database that satisfy given System.Linq.Expressions.Expression.
Parameters
expression Expression < Func < Category, bool \>\>
Returns
Task < IEnumerable < Category \>\>