예제 #1
0
 public ActionResult ApproveorRejectReassignment([FromBody] ReassignmentsFindingHistoryDTO reassignmentsFindingHistory, string id)
 {
     return(new OkObjectResult(_approveorRejectReassignment.Execute(_mapper.Map <ReassignmentsFindingHistoryDTO, FindingWorkflowData>(reassignmentsFindingHistory))));
     //      return new OkObjectResult(_approveorRejectReassignment.Execute(reassignmentsFindingHistory.Id, reassignmentsFindingHistory.State, reassignmentsFindingHistory.RejectComment, id));
 }
예제 #2
0
 public async Task <IActionResult> RequestReassign([FromBody] ReassignmentsFindingHistoryDTO reassignmentsFindingHistory)
 {
     return(new OkObjectResult(await _requestReassignUsecase.Execute(_mapper.Map <ReassignmentsFindingHistoryDTO, FindingWorkflowData>(reassignmentsFindingHistory))));
     //return new OkObjectResult(_requestReassignUsecase.Execute(reassignmentsFindingHistory.FindingID, reassignmentsFindingHistory.ReassignedUserID, reassignmentsFindingHistory.CreatedByUserID));
 }