Beküldés és mentés javítása
This commit is contained in:
@@ -101,19 +101,22 @@ public partial class CheckListWorkPage : ContentPage
|
|||||||
IsLoading = true;
|
IsLoading = true;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach (var checkListRow in CheckListRows)
|
await Task.Run(async () =>
|
||||||
{
|
{
|
||||||
if (checkListRow.AnswerYes == true)
|
foreach (var checkListRow in CheckListRows)
|
||||||
{
|
{
|
||||||
checkListRow.Answer = "Igen";
|
if (checkListRow.AnswerYes == true)
|
||||||
|
{
|
||||||
|
checkListRow.Answer = "Igen";
|
||||||
|
}
|
||||||
|
if (checkListRow.AnswerNo == true)
|
||||||
|
{
|
||||||
|
checkListRow.Answer = "Nem";
|
||||||
|
}
|
||||||
|
await _checkListService.UpdateCheckListRow(checkListRow);
|
||||||
}
|
}
|
||||||
if (checkListRow.AnswerNo == true)
|
await LoadCheckPointCheckListRows();
|
||||||
{
|
});
|
||||||
checkListRow.Answer = "Nem";
|
|
||||||
}
|
|
||||||
await _checkListService.UpdateCheckListRow(checkListRow);
|
|
||||||
}
|
|
||||||
await LoadCheckPointCheckListRows();
|
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user