public static coreModel.Property ToCoreModel(this webModel.Property property) { var retVal = new coreModel.Property(); retVal.InjectFrom(property); retVal.Value = property.Value; return(retVal); }
public static webModel.Property ToWebModel(this coreModel.Property property) { var retVal = new webModel.Property(); retVal.InjectFrom(property); if(property.Value != null) retVal.Value = property.Value.ToString(); return retVal; }
public static webModel.Property ToWebModel(this coreModel.Property property) { var retVal = new webModel.Property(); retVal.InjectFrom(property); if (property.Value != null) { retVal.Value = property.Value.ToString(); } return(retVal); }