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()); }
public IHttpActionResult Recall(PostWorkflowData <RenewalClearanceReport> postData) { postData.Entity.Recall(postData.ProjectComment); return(Ok()); }
public IHttpActionResult Resubmit(PostWorkflowData <RenewalClearanceReport> postData) { postData.Entity.Resubmit(postData.SN); return(Ok()); }
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()); }
public IHttpActionResult Resubmit(PostWorkflowData <RenewalLetter> postData) { postData.Entity.Resubmit(postData.ProjectComment, postData.SN); return(Ok()); }
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()); }
public IHttpActionResult Approve(PostWorkflowData <RenewalTool> postData) { postData.Entity.Approve(postData.ProjectComment, postData.SN); return(Ok()); }
public IHttpActionResult ConfirmUploadTool(PostWorkflowData <RenewalTool> postData) { postData.Entity.ConfirmUploadTool(postData.SN); return(Ok()); }
public IHttpActionResult SaveClosurePackage(PostWorkflowData <TempClosurePackage> postData) { postData.Entity.Save(postData.ProjectComment); return(Ok()); }
public IHttpActionResult RejectClosurePackage(PostWorkflowData <TempClosurePackage> postData) { postData.Entity.Reject(postData.ProjectComment, postData.SN); return(Ok()); }