public IActionResult GetProjectWorkflowCompletedTransferedSteps(int ProjectID, int WorkflowID) { #region Validate Token RequestResponse isAuthorized = new Authorize().RequestTokenAuth(Request); if (isAuthorized.Success == false) { return(BadRequest(isAuthorized)); } #endregion WrapperMultiProjectWorkflow data = new Services.ProjectWorkflowService().GetProjectWorkflowCompletedTransferedSteps(ProjectID, WorkflowID); return(Ok(data)); }
public IActionResult ProjectWFOne([FromBody] WrapperProjectWorkflow Param) { #region Validate Token RequestResponse isAuthorized = new Authorize().RequestTokenAuth(Request); if (isAuthorized.Success == false) { return(BadRequest(isAuthorized)); } #endregion Param.ProjectWorkflow.InsertedBy = isAuthorized.UserProfileID; RequestResponse data = new Services.ProjectWorkflowService().ProjectWFOne(Param.ProjectWorkflow); return(Ok(data)); }
public IActionResult GetProjectWFTwoEmailFormated([FromBody] WrapperProjectWorkflow Param) { #region Validate Token RequestResponse isAuthorized = new Authorize().RequestTokenAuth(Request); if (isAuthorized.Success == false) { return(BadRequest(isAuthorized)); } #endregion Param.ProjectWorkflow.InsertedBy = isAuthorized.UserProfileID; WrapperProjectWorkflow data = new Services.ProjectWorkflowService().GetProjectWFTwoEmailFormatedWithPDF(Param.ProjectWorkflow, _hostingEnvironment); return(Ok(data)); }
public IActionResult ProjectWFThree([FromForm] string request) { #region Validate Token RequestResponse isAuthorized = new Authorize().RequestTokenAuth(Request); if (isAuthorized.Success == false) { return(BadRequest(isAuthorized)); } #endregion WrapperProjectWorkflow Param = JsonConvert.DeserializeObject <WrapperProjectWorkflow>(request); IFormFileCollection FilesInRequest = Request.Form.Files; Param.ProjectWorkflow.InsertedBy = isAuthorized.UserProfileID; RequestResponse data = new Services.ProjectWorkflowService().ProjectWFThree(Param.ProjectWorkflow, FilesInRequest, _hostingEnvironment); return(Ok(data)); }