コード例 #1
0
        public static HardcodeModel ToModel(this HardCode hardCode)
        {
            var model = new HardcodeModel()
            {
                Name  = hardCode.Name,
                Value = hardCode.Value
            };

            return(model);
        }
コード例 #2
0
 public UserModel()
 {
     GenderModel = new HardcodeModel();
     RoleModel   = new HardcodeModel();
 }