public AppRoleDetailsVM GetAppRoleDetailsVM(int roleId)
        {
            AppRole          role   = AppRoleRepository.GetSingle(x => x.Id == roleId);
            AppRoleDetailsVM result = AppRoleConverter.ToAppRoleDetailsVM(role);

            return(result);
        }
        public AppRoleDetailsVM ToAppRoleDetailsVM(AppRole role)
        {
            var result = new AppRoleDetailsVM()
            {
                Id          = role.Id,
                Name        = role.Name,
                Description = role.Description,
                AppRoleType = role.AppRoleType
            };

            return(result);
        }