Asp.net core web api get objects by a set of ids
I have a request that takes in a list of ids and I want to return objects if they are found within that list for example public async Task<IEnumerable<ChatThread>> GetThreadByIDS(List<long> ids) { // how do I query dbContext to get…