Пример #1
0
 public bool CreateEmployee(
     string FirstName,
     string LastName,
     string Title,
     string EmployeeCode,
     int JobTitle,
     string Manager,
     string ProfilePicUrl,
     string QuotesPictureUrl,
     string BackGroundPicUrl,
     System.DateTime HireDate,
     System.DateTime ConfirmationDate,
     string WorkEMail,
     string OfficeLocation,
     string WorkLocation,
     int EmptTypeId,
     string RelievingDate,
     int CompanyId,
     System.DateTime CreatedDate,
     System.DateTime ModifiedDate,
     int CreatedEmpId,
     int ModifiedEmpId)
 {
     NuPortalWebservice.ServiceReference1.CreateEmployeeRequest inValue = new NuPortalWebservice.ServiceReference1.CreateEmployeeRequest();
     inValue.Body                  = new NuPortalWebservice.ServiceReference1.CreateEmployeeRequestBody();
     inValue.Body.FirstName        = FirstName;
     inValue.Body.LastName         = LastName;
     inValue.Body.Title            = Title;
     inValue.Body.EmployeeCode     = EmployeeCode;
     inValue.Body.JobTitle         = JobTitle;
     inValue.Body.Manager          = Manager;
     inValue.Body.ProfilePicUrl    = ProfilePicUrl;
     inValue.Body.QuotesPictureUrl = QuotesPictureUrl;
     inValue.Body.BackGroundPicUrl = BackGroundPicUrl;
     inValue.Body.HireDate         = HireDate;
     inValue.Body.ConfirmationDate = ConfirmationDate;
     inValue.Body.WorkEMail        = WorkEMail;
     inValue.Body.OfficeLocation   = OfficeLocation;
     inValue.Body.WorkLocation     = WorkLocation;
     inValue.Body.EmptTypeId       = EmptTypeId;
     inValue.Body.RelievingDate    = RelievingDate;
     inValue.Body.CompanyId        = CompanyId;
     inValue.Body.CreatedDate      = CreatedDate;
     inValue.Body.ModifiedDate     = ModifiedDate;
     inValue.Body.CreatedEmpId     = CreatedEmpId;
     inValue.Body.ModifiedEmpId    = ModifiedEmpId;
     NuPortalWebservice.ServiceReference1.CreateEmployeeResponse retVal = ((NuPortalWebservice.ServiceReference1.NuPortalServiceSoap)(this)).CreateEmployee(inValue);
     return(retVal.Body.CreateEmployeeResult);
 }
Пример #2
0
 System.Threading.Tasks.Task <NuPortalWebservice.ServiceReference1.CreateEmployeeResponse> NuPortalWebservice.ServiceReference1.NuPortalServiceSoap.CreateEmployeeAsync(NuPortalWebservice.ServiceReference1.CreateEmployeeRequest request)
 {
     return(base.Channel.CreateEmployeeAsync(request));
 }
Пример #3
0
 NuPortalWebservice.ServiceReference1.CreateEmployeeResponse NuPortalWebservice.ServiceReference1.NuPortalServiceSoap.CreateEmployee(NuPortalWebservice.ServiceReference1.CreateEmployeeRequest request)
 {
     return(base.Channel.CreateEmployee(request));
 }