Esempio n. 1
0
 async public Task <string> GetLeadsBySalesPersonID(DTO_Employee token)
 {
     LeadsList = JsonConvert.DeserializeObject <List <DTO_Lead> >(await MakeRequest(token, "GetLeadsBySalesPersonID"));
     return(LeadsList.Last().Message);
 }
Esempio n. 2
0
 async public Task <string> GetAllLeads()
 {
     LeadsList = JsonConvert.DeserializeObject <List <DTO_Lead> >(await MakeRequest(new DTO_Base(), "GetAllLeads"));
     return(LeadsList.Last().Message);
 }