From 99fa6ef9b19dc81f10b582ca6749bf1c8cf32c44 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 26 Feb 2019 13:56:08 +0200 Subject: Working on machine service downloads site. --- .../Web/Tango.MachineService/Models/DownloadModel.cs | 16 ++++++++++++++++ .../Web/Tango.MachineService/Models/LoginRequest.cs | 13 +++++++++++++ .../Web/Tango.MachineService/Models/SessionVariables.cs | 12 ++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 Software/Visual_Studio/Web/Tango.MachineService/Models/DownloadModel.cs create mode 100644 Software/Visual_Studio/Web/Tango.MachineService/Models/LoginRequest.cs create mode 100644 Software/Visual_Studio/Web/Tango.MachineService/Models/SessionVariables.cs (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Models') diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Models/DownloadModel.cs b/Software/Visual_Studio/Web/Tango.MachineService/Models/DownloadModel.cs new file mode 100644 index 000000000..4239647e9 --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService/Models/DownloadModel.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Tango.MachineService.Models +{ + public class DownloadModel + { + public String ID { get; set; } + public String Name { get; set; } + public String Date { get; set; } + public String User { get; set; } + public String Comments { get; set; } + } +} \ No newline at end of file diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Models/LoginRequest.cs b/Software/Visual_Studio/Web/Tango.MachineService/Models/LoginRequest.cs new file mode 100644 index 000000000..e6e120756 --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService/Models/LoginRequest.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Tango.MachineService.Models +{ + public class AccountLogin + { + public String Email { get; set; } + public String Password { get; set; } + } +} \ No newline at end of file diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Models/SessionVariables.cs b/Software/Visual_Studio/Web/Tango.MachineService/Models/SessionVariables.cs new file mode 100644 index 000000000..1e54bbb9d --- /dev/null +++ b/Software/Visual_Studio/Web/Tango.MachineService/Models/SessionVariables.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; + +namespace Tango.MachineService.Models +{ + public class SessionVariables + { + public static String CurrentUserGuid => "CurrentUserGuid"; + } +} \ No newline at end of file -- cgit v1.3.1