...
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
@functions{
|
||||
public async Task SentTaxItem(int ID)
|
||||
{
|
||||
PreloadService.Show(SpinnerColor.Dark);
|
||||
SpinnerVisible = true;
|
||||
var rsp = await hc.Get($"TaxPayer/GetResult/{ID}");
|
||||
if (rsp.IsSuccessStatusCode)
|
||||
@@ -154,6 +155,7 @@
|
||||
ingriddata.SentStatus = requestsendTax.SentStatus;
|
||||
ingriddata.msgSentStatus = requestsendTax.msgSentStatus;
|
||||
SpinnerVisible = false;
|
||||
PreloadService.Hide();
|
||||
//-----------------
|
||||
var parameters = new Dictionary<string, object>();
|
||||
parameters.Add("inData", requestsendTax);
|
||||
@@ -161,7 +163,7 @@
|
||||
}
|
||||
else{
|
||||
var request = await rsp.Content.ReadFromJsonAsync<List<string>>();
|
||||
SpinnerVisible = false;
|
||||
SpinnerVisible = false; PreloadService.Hide();
|
||||
ShowDangerAlert(request[0]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user