Explicitly use SDK namespace when necessary
This commit is contained in:
parent
9c28082180
commit
7a5129ed1a
3 changed files with 3 additions and 6 deletions
|
|
@ -2,7 +2,6 @@
|
|||
using LANCommander.Data.Models;
|
||||
using LANCommander.Extensions;
|
||||
using LANCommander.Models;
|
||||
using LANCommander.SDK;
|
||||
using LANCommander.Services;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ using LANCommander.Data;
|
|||
using LANCommander.Data.Models;
|
||||
using LANCommander.Extensions;
|
||||
using LANCommander.Models;
|
||||
using LANCommander.SDK;
|
||||
using LANCommander.Services;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
|
@ -60,7 +59,7 @@ namespace LANCommander.Controllers.Api
|
|||
}
|
||||
|
||||
[HttpGet("{id}/Manifest")]
|
||||
public async Task<GameManifest> GetManifest(Guid id)
|
||||
public async Task<SDK.GameManifest> GetManifest(Guid id)
|
||||
{
|
||||
var manifest = await GameService.GetManifest(id);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ using LANCommander.Data;
|
|||
using LANCommander.Data.Models;
|
||||
using LANCommander.Extensions;
|
||||
using LANCommander.Models;
|
||||
using LANCommander.SDK;
|
||||
using LANCommander.Services;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
|
@ -111,8 +110,8 @@ namespace LANCommander.Controllers.Api
|
|||
{
|
||||
await file.CopyToAsync(stream);
|
||||
}
|
||||
|
||||
return Ok(save);
|
||||
|
||||
return Ok(Mapper.Map<SDK.Models.GameSave>(save));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue