Owneat Technical Guide main Help

Interface IRestaurantEventRepository

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

public interface IRestaurantEventRepository : IRepository<RestaurantEvent>

Implements

IRepository<RestaurantEvent\>

Methods

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

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

Parameters

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

Returns

Task < RestaurantEvent ?\>

GetByGuidListAsync\(IEnumerable<Guid\>\)

Task<IEnumerable<RestaurantEvent>> GetByGuidListAsync(IEnumerable<Guid> restaurantEventIds)

Parameters

restaurantEventIds IEnumerable < Guid \>

Returns

Task < IEnumerable < RestaurantEvent \>\>

GetListAsync\(Expression<Func<RestaurantEvent, bool\>\>\)

Task<IEnumerable<RestaurantEvent>> GetListAsync(Expression<Func<RestaurantEvent, bool>> expression)

Parameters

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

Returns

Task < IEnumerable < RestaurantEvent \>\>

Last modified: 21 May 2024