개정판 b42dd24d
finalPDF 수정
Change-Id: Ic1c091379dcc59c6c7a0f42f275a4d57a9239229
KCOM/Events/SaveCommand.cs | ||
---|---|---|
9 | 9 |
using System.Collections.ObjectModel; |
10 | 10 |
using System.Linq; |
11 | 11 |
using System.Text; |
12 |
using System.Threading.Tasks; |
|
12 | 13 |
using System.Windows.Controls; |
13 | 14 |
|
14 | 15 |
namespace KCOM.Events |
... | ... | |
72 | 73 |
/// </summary> |
73 | 74 |
/// <param name="UserState"></param> |
74 | 75 |
/// <param name="iPageNo"></param> |
75 |
public async void Execute(ICollection<MarkupInfoItem> UserStates)
|
|
76 |
public async Task<bool> Execute(ICollection<MarkupInfoItem> UserStates)
|
|
76 | 77 |
{ |
78 |
bool result = false; |
|
79 |
|
|
77 | 80 |
try |
78 | 81 |
{ |
79 | 82 |
var mainmenu = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu; |
... | ... | |
98 | 101 |
|
99 | 102 |
var SaveResult = await client.SaveMarkupDataAsync(UserState, Project_No, document_id, user_id, markupdata); |
100 | 103 |
|
104 |
result = SaveResult; |
|
105 |
|
|
101 | 106 |
//Logger.sendResLog("SaveCommand.Instance.Execute" , $"SaveMarkupData Call Project : {Project_No} DocID :{document_id} User ID {user_id} result {SaveResult}",1); |
102 | 107 |
|
103 | 108 |
mainmenu.MarkupitemViewUpdate(UserState.MarkupInfoID); |
... | ... | |
112 | 117 |
{ |
113 | 118 |
throw; |
114 | 119 |
} |
120 |
|
|
121 |
return result; |
|
115 | 122 |
} |
116 | 123 |
|
117 | 124 |
public void SymbolSave(string Name, string Url, string Data) |
내보내기 Unified diff