Ejemplo n.º 1
0
        public bool UpdateAccount(int Id, TB_M_Account account)
        {
            var Get = get(Id);

            if (Get != null)
            {
                return(savedata.Save(myContext));
            }
            else
            {
                status = false;
            }
            return(status);
        }
Ejemplo n.º 2
0
 public bool Update(int id, TB_M_Account account)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 3
0
 public bool Insert(TB_M_Account account)
 {
     //throw new NotImplementedException();
     myContext.TB_M_Accounts.Add(account);
     return(saveData(myContext));
 }
Ejemplo n.º 4
0
 public bool InsertAccount(TB_M_Account account)
 {
     myContext.TB_M_Account.Add(account);
     return(savedata.Save(myContext));
 }