예제 #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);
 }