>Hi everybody,
>
>In the top of my code in one method I have this declaration
>
>
>var clients = Db.Clients;
>
>I need to pass this object to another method. The method in the prototype application I am looking for has this signature:
>
>private JsonResult CreateFlexiJson(IEnumerable<JobPost> items, int page, int total)
>
>How can I introduce the same method for my case to be able to pass that clients variable to it?
>
>Thanks in advance.
Do you mean you want do something like this:
var v = CreateFlexiJson(IEnumerable<Client> items, int page, int total)
If so what is the type of DB.Clients ?