public virtual ActionResult Update(PAccount entity) { entity.LastUpdatedTime = DateTime.Now; OperationResult or = PAccountService.Update(entity); return(this.JsonFormat(or)); }
public virtual ActionResult Add(PAccount entity) { OperationResult or = PAccountService.Insert(entity); return(this.JsonFormat(or)); }
static void Main(string[] args) { PAccount pAccount = new PAccount(); pAccount.Execute(); }