Exemple #1
0
        public List <RoleViewModel> GetDepartments()
        {
            List <RoleViewModel> roles = commonContext.GetAllRoles().Select(p => new RoleViewModel(p)).ToList();

            return(roles);
        }