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); }
public bool Update(int id, TB_M_Account account) { throw new NotImplementedException(); }
public bool Insert(TB_M_Account account) { //throw new NotImplementedException(); myContext.TB_M_Accounts.Add(account); return(saveData(myContext)); }
public bool InsertAccount(TB_M_Account account) { myContext.TB_M_Account.Add(account); return(savedata.Save(myContext)); }