public async Task <JsonResult> Delete(long id)
        {
            await _justificationFactory.DeleteJustification(id);

            Logger.LogInformation($"Justification {id} deleted by {UserSecurity.SamAccountName}.");

            return(Json(JsonEnvelope.Success()));
        }
        public async Task <JsonResult> Delete(long id)
        {
            Logger.LogInformation($"{UserSecurity.SamAccountName} deleted ports and justification for justification id {id}");
            await _portFactory.DeletePort(id);

            await _justificationFactory.DeleteJustification(id);

            return(Json(JsonEnvelope.Success()));
        }