Esempio n. 1
0
        public IHttpActionResult SubmitClosurePackage(PostWorkflowData <TempClosurePackage> postData)
        {
            var tempClosureInfo = TempClosureInfo.FirstOrDefault(tc => tc.ProjectId == postData.Entity.ProjectId);

            postData.Entity.Submit(postData.ProjectComment, postData.ProjectDto.ApproveUsers, () =>
            {
                TempClosureEmail.SendPackageApprovalEmail(tempClosureInfo, postData.Entity, postData.ProjectDto.ApproveUsers);
            });
            return(Ok());
        }
 public IHttpActionResult Recall(PostWorkflowData <RenewalConfirmLetter> postData)
 {
     postData.Entity.Recall(postData.ProjectComment);
     return(Ok());
 }
 public IHttpActionResult Resubmit(PostWorkflowData <RenewalConfirmLetter> postData)
 {
     postData.Entity.Resubmit(postData.SN);
     return(Ok());
 }
Esempio n. 4
0
 public IHttpActionResult Recall(PostWorkflowData <RenewalClearanceReport> postData)
 {
     postData.Entity.Recall(postData.ProjectComment);
     return(Ok());
 }
Esempio n. 5
0
 public IHttpActionResult Resubmit(PostWorkflowData <RenewalClearanceReport> postData)
 {
     postData.Entity.Resubmit(postData.SN);
     return(Ok());
 }
Esempio n. 6
0
 public IHttpActionResult Resubmit(PostWorkflowData <RenewalAnalysis> postData)
 {
     postData.Entity.Resubmit(postData.SN);
     return(Ok());
 }
 public IHttpActionResult Recall(PostWorkflowData <RenewalLLNegotiation> postData)
 {
     postData.Entity.Recall(postData.ProjectComment);
     return(Ok());
 }
 public IHttpActionResult Resubmit(PostWorkflowData <RenewalLLNegotiation> postData)
 {
     postData.Entity.Resubmit(postData.SN);
     return(Ok());
 }
Esempio n. 9
0
 public IHttpActionResult Resubmit(PostWorkflowData <RenewalLetter> postData)
 {
     postData.Entity.Resubmit(postData.ProjectComment, postData.SN);
     return(Ok());
 }
Esempio n. 10
0
 public IHttpActionResult Save(PostWorkflowData <RenewalLetter> postData)
 {
     postData.Entity.Save(postData.ProjectComment);
     return(Ok());
 }
 public IHttpActionResult RecallLegalReview(PostWorkflowData <TempClosureLegalReview> postData)
 {
     postData.Entity.Recall(postData.ProjectComment);
     return(Ok());
 }
 public IHttpActionResult ApproveLegalReview(PostWorkflowData <TempClosureLegalReview> postData)
 {
     postData.Entity.Approve(postData.ProjectComment, postData.SN);
     return(Ok());
 }
Esempio n. 13
0
 public IHttpActionResult Approve(PostWorkflowData <RenewalTool> postData)
 {
     postData.Entity.Approve(postData.ProjectComment, postData.SN);
     return(Ok());
 }
Esempio n. 14
0
 public IHttpActionResult ConfirmUploadTool(PostWorkflowData <RenewalTool> postData)
 {
     postData.Entity.ConfirmUploadTool(postData.SN);
     return(Ok());
 }
Esempio n. 15
0
 public IHttpActionResult SaveClosurePackage(PostWorkflowData <TempClosurePackage> postData)
 {
     postData.Entity.Save(postData.ProjectComment);
     return(Ok());
 }
Esempio n. 16
0
 public IHttpActionResult RejectClosurePackage(PostWorkflowData <TempClosurePackage> postData)
 {
     postData.Entity.Reject(postData.ProjectComment, postData.SN);
     return(Ok());
 }