// method to save the app part data
 public void SaveAppPartDataLocal(AppPart appPart, FlowLayoutPanel layout)
 {
     this._appPartUtils.SaveAppPartDataLocal(appPart.AppPartName, layout);
 }
 // method to save current form data to local database
 public void SaveAppPartDataLocal(string appPartName, FlowLayoutPanel layout)
 {
     this._appPartDataAdapter.SaveAppPartData(appPartName, layout);
 }