-
-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Description
consider the following code
[Function]
[Parameter("categoryId", typeof(Guid))]
public virtual async Task<Guid[]> GetlocationIdsByCategoryId([FromODataUri]Guid categoryId, CancellationToken cancellationToken)
{
return await _categoryInLocationsRepository.GetAll().Where(c => c.ProductCategoryId == categoryId).Select(c => c.LocationId).ToArrayAsync(cancellationToken);
}
above code makes these error
Build:Type 'string' does not satisfy the constraint 'Entity'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels