Commit 5d5e1b29 authored by cann-alberto's avatar cann-alberto
Browse files

Connection with Unity App

parent c4e1e131
...@@ -23,7 +23,7 @@ public class RegistrationController : ControllerBase ...@@ -23,7 +23,7 @@ public class RegistrationController : ControllerBase
_devicesService = devicesService; _devicesService = devicesService;
} }
[HttpGet] [HttpGet("profiles")]
public async Task<List<PersonalProfile>> Get() => public async Task<List<PersonalProfile>> Get() =>
await _personalProfilesService.GetAsync(); await _personalProfilesService.GetAsync();
......
[ [
{
"ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Get",
"RelativePath": "api/Registration",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[MMM_Server.Models.PersonalProfile, MMM-Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{ {
"ContainingType": "MMM_Server.Controllers.RegistrationController", "ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Post", "Method": "Post",
...@@ -51,6 +31,26 @@ ...@@ -51,6 +31,26 @@
], ],
"ReturnTypes": [] "ReturnTypes": []
}, },
{
"ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Get",
"RelativePath": "api/Registration/profiles",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[MMM_Server.Models.PersonalProfile, MMM-Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{ {
"ContainingType": "MMM_Server.Controllers.RegistrationController", "ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Post", "Method": "Post",
......
...@@ -14,7 +14,7 @@ using System.Reflection; ...@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyCompanyAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+494d83a8a248169be02a140cbfc122a4168507cb")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c4e1e131fa49353715911b0a6cc386593ad8590f")]
[assembly: System.Reflection.AssemblyProductAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyProductAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyTitleAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyTitleAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
......
a5a45e3eb4a787a70139b3a2d5cee14db5d3c93c617d79b86591828da1cedfca aba5d00d31482b00647b01bb0130ea75db3de330b475e4812302412ce6c448b2
{"documents":{"C:\\Users\\lab2a\\Documents\\Visual Studio 2022\\Projects\\MPAI-MMM\\MMM-Server\\*":"https://raw.githubusercontent.com/cann-alberto/MPAI-MMM/494d83a8a248169be02a140cbfc122a4168507cb/*"}} {"documents":{"C:\\Users\\lab2a\\Documents\\Visual Studio 2022\\Projects\\MPAI-MMM\\MMM-Server\\*":"https://raw.githubusercontent.com/cann-alberto/MPAI-MMM/c4e1e131fa49353715911b0a6cc386593ad8590f/*"}}
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment