intの配列を使用して連結されたWHERE句を作成する方法があるかどうか疑問に思っています。配列全体の結果を組み合わせる必要があります。私は次のようなことをすることができますか?
public ViewResult Results(int? programId, int? programYear, int? programTypeId, string toDate, string fromDate, int?[] programTypeIdList, int?[] programIdList)
{
surveyResponseRepository.Get().Any(x => x.ProgramId == programIdList);
}