예제 #1
0
 public Task <List <ContextProcess> > GetProcessContext(long headerid)
 {
     return(restClient.Execute <List <ContextProcess> >($"/PublicAPI/REST/EleWise.ELMA.ELMAHelperBot/Bot/GetProcessContext?headerid={headerid}", null, RestSharp.Method.GET));
 }
 public Task <Auth> LoginWithUserName(string userName, string password)
 {
     return(restClient.Execute <Auth>($"/api/rest/Authorization/LoginWith?username={userName}", password, RestSharp.Method.POST));
 }