Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass it to another method?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How to pass it to another method?
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01562213
Message ID:
01562213
Vues:
59
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.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform