public static HardcodeModel ToModel(this HardCode hardCode) { var model = new HardcodeModel() { Name = hardCode.Name, Value = hardCode.Value }; return(model); }
public UserModel() { GenderModel = new HardcodeModel(); RoleModel = new HardcodeModel(); }