public virtual void Update(FormDataModel form) { if (form.ID > 0) { FormDAL.Update(form); } else { throw new Exception("Page not found"); } }