Пример #1
0
 public AccountView GetAccountViewToEditPassword(int Id)
 {
     var data= _db.Accounts.Find(Id);
     AccountView result = new AccountView();
     result.UserName = data.UserName;
     return result;
 }
Пример #2
0
        public bool CreateAccount (AccountView pNewAccount )
        {
            try
            {

                return true;
            }
            catch
            {
                return false;
            }
        }