public static webModels.Theme ToThemeWebModel(this BlobFolder folder) { var retVal = new webModels.Theme(); retVal.Name = folder.Name; retVal.Path = folder.Url; return(retVal); }
public static webModels.Theme ToThemeWebModel(this BlobFolder folder) { var retVal = new webModels.Theme(); retVal.Name = folder.Name; retVal.Path = folder.Url; return retVal; }
public static domainModels.Theme ToDomainModel(this webModels.Theme item) { var retVal = new domainModels.Theme(); retVal.Name = item.Name; retVal.ThemePath = item.Path; return(retVal); }
public static webModels.Theme ToWebModel(this domainModels.Theme item) { var retVal = new webModels.Theme(); retVal.Name = item.Name; retVal.Path = item.ThemePath; retVal.Modified = item.ModifiedDate ?? item.CreatedDate; return(retVal); }
public static webModels.Theme ToWebModel(this domainModels.Theme item) { var retVal = new webModels.Theme(); retVal.Name = item.Name; retVal.Path = item.ThemePath; retVal.Modified = item.ModifiedDate ?? item.CreatedDate; return retVal; }