Ejemplo n.º 1
0
 public JobSeller PutJobSeller(JobSeller jobSeller)
 {
     _jobCommands.ActiveUser = Models.ApiContext.ActiveUser;
     return(_jobCommands.PutJobSeller(jobSeller));
 }
Ejemplo n.º 2
0
 public JobSeller PutJobSeller(JobSeller jobSeller)
 {
     return(JsonConvert.DeserializeObject <ApiResult <JobSeller> >(RestClient.Execute(
                                                                       HttpRestClient.RestAuthRequest(Method.PUT, string.Format("{0}/{1}", RouteSuffix, "JobSeller"), ActiveUser).AddObject(jobSeller)).Content).Results?.FirstOrDefault());
 }