public async Task <ActionResult> Create(ClassificationModel classificationModel)
        {
            if (!_permissionService.Authorize(PermissionProvider.ManageDepartment))
            {
                return(AccessDeniedView());
            }
            var existedClassification = await _classificationService.GetClassificationByClassificationCode(classificationModel.Code);

            if (existedClassification != null)
            {
                return(Content("Classification Code has Existed!"));
            }

            var classification = new Classification()
            {
                Code              = classificationModel.Code,
                Name              = classificationModel.Name,
                Description       = classificationModel.Description,
                Severity          = classificationModel.Severity,
                Dectability       = classificationModel.Dectability,
                FoundByFunctionId = classificationModel.FoundByFunction.Id == 0 ? null : (int?)classificationModel.FoundByFunction.Id
            };
            await _classificationService.InsertAsync(classification);

            //return Json(classification);
            return(Json(new
            {
                status = "success",
            }));
        }