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