Exemplo n.º 1
0
 public AccountView GetAccountViewToEditPassword(int Id)
 {
     var data= _db.Accounts.Find(Id);
     AccountView result = new AccountView();
     result.UserName = data.UserName;
     return result;
 }
Exemplo n.º 2
0
        public bool CreateAccount (AccountView pNewAccount )
        {
            try
            {

                return true;
            }
            catch
            {
                return false;
            }
        }