mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-25 18:58:12 +00:00
Removed build warnings in API
This commit is contained in:
@@ -29,7 +29,7 @@ namespace PodNoms.Api.Controllers {
|
||||
this._unitOfWork = unitOfWork;
|
||||
}
|
||||
[HttpGet]
|
||||
public async Task<ActionResult<ProfileViewModel>> Get() {
|
||||
public ActionResult<ProfileViewModel> Get() {
|
||||
var result = _mapper.Map<ApplicationUser, ProfileViewModel>(_applicationUser);
|
||||
return new OkObjectResult(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user