Пример #1
0
        public static webModels.Theme ToThemeWebModel(this BlobFolder folder)
        {
            var retVal = new webModels.Theme();

            retVal.Name = folder.Name;
            retVal.Path = folder.Url;
            return(retVal);
        }
Пример #2
0
        public static webModels.Theme ToThemeWebModel(this BlobFolder folder)
        {
            var retVal = new webModels.Theme();

            retVal.Name = folder.Name;
            retVal.Path = folder.Url;
            return retVal;
        }
Пример #3
0
        public static domainModels.Theme ToDomainModel(this webModels.Theme item)
        {
            var retVal = new domainModels.Theme();

            retVal.Name      = item.Name;
            retVal.ThemePath = item.Path;

            return(retVal);
        }
Пример #4
0
        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);
        }
Пример #5
0
		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;
		}