示例#1
0
 async public Task <string> GetAllInspections()
 {
     InspectionsList = JsonConvert.DeserializeObject <List <DTO_Inspection> >(await MakeRequest(new DTO_Base(), "GetAllInspections"));
     return(InspectionsList.Last().Message);
 }
示例#2
0
 async public Task <string> GetInspectionsByClaimID(DTO_Claim token)
 {
     InspectionsList = JsonConvert.DeserializeObject <List <DTO_Inspection> >(await MakeRequest(token, "GetInspectionsByClaimID"));
     return(InspectionsList.Last().Message);
 }
示例#3
0
 async public Task <string> GetRecentInspectionsBySalesPersonID(DTO_Employee token)
 {
     InspectionsList = JsonConvert.DeserializeObject <List <DTO_Inspection> >(await MakeRequest(new DTO_Base(), "GetRecentInspectionsBySalesPersonID"));
     return(InspectionsList.Last().Message);
 }