public IActionResult DisableAssignmentComment([FromRoute] int assignmentId, [FromRoute] int commentId)
        {
            int successTransactionValue = (int)TransactionStatus.SUCCESS;

            return(this.NoContent(() => _AssignmentRepo.DisableAssignmentComment(assignmentId, commentId).Equals(successTransactionValue)));
        }
예제 #2
0
 public IActionResult DisableAssignmentComment([FromRoute] int assignmentId, [FromRoute] int commentId)
 {
     return(this.NoContent(() =>
                           _AssignmentRepo.DisableAssignmentComment(assignmentId, commentId).Equals(TransactionStatus.SUCCESS), _Logger));
 }