Beispiel #1
0
        public async Task <IActionResult> getPerfomanceTable(string year, string session)
        {
            var Client = new ServiceReference2.ServiceStudentsClient();
            var value  = await Client.GetGradesStudentIdAsync(sessionYear : year, sessionName : session, idStudents : 541618975);

            var grades = new perfomanceClass(value);

            return(PartialView(grades));
        }
Beispiel #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceStudentsClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServiceStudents));
 }
Beispiel #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ServiceStudentsClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IServiceStudents));
 }
Beispiel #4
0
 public ServiceStudentsClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ServiceStudentsClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #5
0
 public ServiceStudentsClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceStudentsClient.GetBindingForEndpoint(endpointConfiguration), ServiceStudentsClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #6
0
 public ServiceStudentsClient() :
     base(ServiceStudentsClient.GetDefaultBinding(), ServiceStudentsClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IServiceStudents.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }