示例#1
0
        // return Action List
        public SelectList getActionLinkDropDown()
        {
            List <ActionDTO> lactionDto = _ddlRepo.GetActions();

            ActionDTO actDto = new ActionDTO();

            actDto.RowId      = -1;
            actDto.ActionName = string.Empty;

            lactionDto.Insert(0, actDto);

            return(new SelectList(lactionDto, "RowId", "ActionName"));
        }