diff --git a/.vs/StockManMVC/config/applicationhost.config b/.vs/StockManMVC/config/applicationhost.config new file mode 100644 index 0000000..58ed30b --- /dev/null +++ b/.vs/StockManMVC/config/applicationhost.config @@ -0,0 +1,1067 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/StockManMVC/v15/Server/sqlite3/db.lock b/.vs/StockManMVC/v15/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/StockManMVC/v15/Server/sqlite3/storage.ide b/.vs/StockManMVC/v15/Server/sqlite3/storage.ide new file mode 100644 index 0000000..9ffc10d Binary files /dev/null and b/.vs/StockManMVC/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/StockManMVC/v15/sqlite3/db.lock b/.vs/StockManMVC/v15/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/StockManMVC/v15/sqlite3/storage.ide b/.vs/StockManMVC/v15/sqlite3/storage.ide index 6897211..87f538e 100644 Binary files a/.vs/StockManMVC/v15/sqlite3/storage.ide and b/.vs/StockManMVC/v15/sqlite3/storage.ide differ diff --git a/.vs/StockManMVC/v16/Server/sqlite3/db.lock b/.vs/StockManMVC/v16/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/StockManMVC/v16/Server/sqlite3/storage.ide b/.vs/StockManMVC/v16/Server/sqlite3/storage.ide new file mode 100644 index 0000000..29d353d Binary files /dev/null and b/.vs/StockManMVC/v16/Server/sqlite3/storage.ide differ diff --git a/SiteSelector/SiteSelector.csproj.user b/SiteSelector/SiteSelector.csproj.user index 6c4d123..d5c94c9 100644 --- a/SiteSelector/SiteSelector.csproj.user +++ b/SiteSelector/SiteSelector.csproj.user @@ -5,6 +5,7 @@ disabled enabled IIS01 + Debug|Any CPU diff --git a/SiteSelector/bin/SiteSelector.dll b/SiteSelector/bin/SiteSelector.dll index cd931ed..0835f70 100644 Binary files a/SiteSelector/bin/SiteSelector.dll and b/SiteSelector/bin/SiteSelector.dll differ diff --git a/StockManMVC/Models/ImageHelper.cs b/StockManMVC/Models/ImageHelper.cs new file mode 100644 index 0000000..b3b169f --- /dev/null +++ b/StockManMVC/Models/ImageHelper.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Mvc; + +namespace StockManMVC.Models +{ + public static class ImageHelper + { + public static MvcHtmlString Image(this HtmlHelper helper, string src, string altText, string height) + { + var builder = new TagBuilder("img"); + builder.MergeAttribute("src", src); + builder.MergeAttribute("alt", altText); + builder.MergeAttribute("height", height); + return MvcHtmlString.Create(builder.ToString(TagRenderMode.SelfClosing)); + } + } +} \ No newline at end of file diff --git a/StockManMVC/StockManMVC.csproj b/StockManMVC/StockManMVC.csproj index c59ecae..9648931 100644 --- a/StockManMVC/StockManMVC.csproj +++ b/StockManMVC/StockManMVC.csproj @@ -181,6 +181,7 @@ SMModel.tt + @@ -334,6 +335,7 @@ + TextTemplatingFileGenerator SMModel.edmx diff --git a/StockManMVC/StockManMVC.csproj.user b/StockManMVC/StockManMVC.csproj.user index 56f130d..0be2b76 100644 --- a/StockManMVC/StockManMVC.csproj.user +++ b/StockManMVC/StockManMVC.csproj.user @@ -19,6 +19,7 @@ + Debug|Any CPU diff --git a/StockManMVC/bin/StockManMVC.dll b/StockManMVC/bin/StockManMVC.dll index b5698e2..c674f7b 100644 Binary files a/StockManMVC/bin/StockManMVC.dll and b/StockManMVC/bin/StockManMVC.dll differ diff --git a/StockManMVC/image/QR_demo.png b/StockManMVC/image/QR_demo.png new file mode 100644 index 0000000..d4f3f7d Binary files /dev/null and b/StockManMVC/image/QR_demo.png differ diff --git a/VersGen/bin/Debug/VersGen.dll b/VersGen/bin/Debug/VersGen.dll index 7abf1e7..28aef7e 100644 Binary files a/VersGen/bin/Debug/VersGen.dll and b/VersGen/bin/Debug/VersGen.dll differ diff --git a/VersGen/obj/Debug/VersGen.csproj.FileListAbsolute.txt b/VersGen/obj/Debug/VersGen.csproj.FileListAbsolute.txt index 06857b5..aac2b35 100644 --- a/VersGen/obj/Debug/VersGen.csproj.FileListAbsolute.txt +++ b/VersGen/obj/Debug/VersGen.csproj.FileListAbsolute.txt @@ -19,3 +19,9 @@ C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\o C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.csproj.CoreCompileInputs.cache C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.dll C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.pdb +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\bin\Debug\VersGen.dll +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\bin\Debug\VersGen.pdb +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.csprojAssemblyReference.cache +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.csproj.CoreCompileInputs.cache +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.dll +C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.pdb