mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 01:31:19 +00:00
update in device controller
This commit is contained in:
parent
2dcfa0ebe8
commit
1647763c94
@ -45,7 +45,7 @@ namespace MyCore.Controllers
|
||||
/// </summary>
|
||||
/// <param name="userId">Id of user</param>
|
||||
[ProducesResponseType(typeof(List<DeviceSummaryDTO>), 200)]
|
||||
[HttpGet]
|
||||
[HttpGet("{userId}")]
|
||||
public ObjectResult GetAll(string userId)
|
||||
{
|
||||
try
|
||||
@ -72,7 +72,7 @@ namespace MyCore.Controllers
|
||||
/// </summary>
|
||||
/// <param name="deviceId">id of device</param>
|
||||
[ProducesResponseType(typeof(DeviceDetailDTO), 200)]
|
||||
[HttpGet("{deviceId}")]
|
||||
[HttpGet("detail/{deviceId}")]
|
||||
public ObjectResult GetDetail(string deviceId)
|
||||
{
|
||||
try
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user