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