cannot initialise type xy Does not implement 'System.Collections.IEnumerable'
<p>I have the following code </p>

<pre><code>public Response GetDate(Request request)
{
    Details details = new Details();
    Response response = new Response
    {
        details.GetAction(request.CreationDate,request.LineOfBusiness,request.DocumentCategory,request.TransactionFlow,request.BundleName),
    };
    return response;
}
</code></pre>

<p>and the class has </p>

<pre><code>[DataContract]
public class Request
{
    [DataMember(Order = 1)]
    public DateTime CreationDate { get; set; }
    [DataMember(Order = 2)]
    public string LineOfBusiness { get; set; }
    [DataMember(Order = 3)]
    public string DocumentCategory { get; set; }
    [DataMember(Order = 4)]
    public string TransactionFlow { get; set; }
    [DataMember(Order = 5)]
    public string BundleName { get; set; }
}
</code></pre>

<p>And I am getting error that collection is not implementing <code>System.Collections.IEnumerable</code>. I checked other similar questions. But I am not using any LINQ.</p>