public AddGroupModel(string process_id)
        {
            this.process_id = process_id;
            groupsList      = groupProvider.getGroups().Result;
            List <SelectListItem> usersSelectList = new List <SelectListItem>();

            foreach (GroupDTO iGroup in groupsList)
            {
                usersSelectList.Add(new SelectListItem {
                    Text = iGroup.groupName, Value = iGroup.id_group
                });
            }
            _GroupsSelect = new SelectList(usersSelectList, "Value", "Text");
        }
 public GroupsListModel()
 {
     groupsList = groupProvider.getGroups().Result;
 }