[HttpDelete, Route("{assignmentId:length(12, 150)}")] //TODO: validate this range thought the DB
        public IActionResult DeleteAssignment([FromRoute] string assignmentId)
        {
            Match match = new Regex(@"([a-f0-9]{12})$").Match(assignmentId);

            if (match.Success)
            {
                return(this.NoContent(() => _AssignmentRepo.DeleteByTokenId(match.Value).Equals(TransactionStatus.SUCCESS)));
            }

            return(BadRequest("The Request has an invalid ID"));
        }