public AppRole AddRole(AppRoleType appRoleType, string name, string description = "")
        {
            AppRole appRole = AppRoleConverter.FromParamsToAppRole(appRoleType, name, description);

            AppRoleRepository.Add(appRole);
            AppRoleRepository.Save();
            return(appRole);
        }
        public AppRole FromParamsToAppRole(AppRoleType appRoleType, string name, string description)
        {
            AppRole appRole = new AppRole()
            {
                Name        = name,
                Description = description,
                AppRoleType = appRoleType
            };

            return(appRole);
        }