예제 #1
0
 public void ModifyAppraisal(Staff staff, Staff supervisor, Period period, Infrastructure.MangoService.Appraisal appraisal, Comment comment)
 {
     svc = new ServiceClient();
     svc.ModifyAppraisalCompleted += new EventHandler <ModifyAppraisalCompletedEventArgs>(svc_ModifyAppraisalCompleted);
     svc.ModifyAppraisalAsync(staff, supervisor, period, appraisal, comment);
     svc.CloseAsync();
 }
예제 #2
0
 public void AppraiseStaff(Infrastructure.MangoService.Appraisal appraisal, ObservableCollection <Pace> paces, Metrices metrices, Comment comment, Staff staff, Staff supervisor, Period period, ObservableCollection <StaffAssessment> staffAssessments, bool sendMail)
 {
     svc = new ServiceClient();
     svc.AppraiseStaffCompleted += new EventHandler <AppraiseStaffCompletedEventArgs>(svc_AppraiseStaffCompleted);
     svc.AppraiseStaffAsync(appraisal, paces, metrices, comment, staff, supervisor, period, staffAssessments, sendMail);
     svc.CloseAsync();
 }
예제 #3
0
 //public void RespondToAppraisal(AppraisalSvc.Staff staff, AppraisalSvc.Staff supervisor, AppraisalSvc.Staff hod, AppraisalSvc.Period period, AppraisalSvc.Appraisal appraisal, AppraisalSvc.Comment comment)
 //{
 //    svc = new DataServiceClient();
 //    svc.RespondToAppraisalCompleted += new EventHandler<RespondToAppraisalCompletedEventArgs>(svc_RespondToAppraisalCompleted);
 //    svc.RespondToAppraisalAsync(staff, supervisor, hod, period, appraisal, comment);
 //    svc.CloseAsync();
 //}
 public void AcceptOrRejectAppraisal(Staff staff, Staff supervisor, Staff hod, Period period, Infrastructure.MangoService.Appraisal appraisal, Comment comment)
 {
     svc = new ServiceClient();
     svc.AcceptOrRejectAppraisalCompleted += new EventHandler <AcceptOrRejectAppraisalCompletedEventArgs>(svc_AcceptOrRejectAppraisalCompleted);
     svc.AcceptOrRejectAppraisalAsync(staff, supervisor, hod, period, appraisal, comment);
     svc.CloseAsync();
 }