Hi experts,
I have this rather stupid question yet I duno the answer. Hope someone can let me know the answer :
- public AzolaDL.Account getAccount(string userName, string type){
- AzolaDL.Account account = new AzolaDL.Account();
- try{
- account = db.Accounts.First(e => e.userName == userName && e.type == type);
- }catch (Exception e){
- return null;
- }
- return account;
- }
Tangara GPosted Sep 15, 2016, 2:36 AM
Tapan PatelPosted Sep 14, 2016, 9:38 AM
Tangara GPosted Sep 14, 2016, 7:06 AM
Vasu GadhiyaPosted Sep 14, 2016, 6:44 AM
Midhun TpPosted Sep 14, 2016, 6:10 AM
Mark TaborPosted Sep 14, 2016, 5:53 AM