public AddEditAttachmentTypeModel()
        {
            mAttachmentType = new CmsWebService.AttachmentType();

            OkButtonCommand = new DelegateCommand<object>(OkButtonHander, CanExecuteOkButtonHandler);
            CancelButtonCommand = new DelegateCommand<object>(CancelButtonHander, CanExecuteOkButtonHandler);
            OnDataSourceLoaded();
        }
 private void cmsWebServiceClient_GetAttachmentTypeCompleted(object sender, GetAttachmentTypeCompletedEventArgs e)
 {
     mAttachmentType = e.Result;
     OnDataSourceLoaded();
 }