public async Task <ActionResult> AddAppType(AppTypeModel model)
        {
            var validationMessage = await AppManagementValidationLogic.AddAppTypeValidation(model, _dbContext);

            if (!string.IsNullOrEmpty(validationMessage))
            {
                return(StatusCode(400, validationMessage));
            }
            var appType = new AppType
            {
                Title = model.Title,
                Name  = model.Name,
                Id    = model.Id
            };

            _dbContext.AppTypes.Add(appType);
            await _dbContext.SaveChangesAsync();

            ((RequestLogModel)HttpContext.Items["RequestLog"]).AppTypeId = appType.Id;
            return(Ok());
        }