示例#1
0
        public SelectList getUserDropDown()
        {
            List <UserMasterDTO> lstUserMaster = _ddlRepo.GetAllActiveUsers();

            UserMasterDTO umDTO = new UserMasterDTO();

            umDTO.UserMasterId = -1;
            umDTO.FName        = string.Empty;
            lstUserMaster.Insert(0, umDTO);

            return(new SelectList(lstUserMaster, "UserMasterId", "FName"));
        }