public DataAccessLayer.SOAResult Save (BusinessLayer.User user) { DataAccessLayer.DAL_Task dal_Task = new DataAccessLayer.DAL_Task (); if (ID == null) { // This is an Insert statement DataAccessLayer.ReturnValue success = dal_Task.InsertTask (this, user); this.ID = success.ID; return success.Success; } else { // This is an Update statement return dal_Task.UpdateTask (this, user); } }