Removed build warnings in API

This commit is contained in:
Fergal Moran
2018-05-07 00:46:31 +01:00
parent 7656fde404
commit 17b5758380
2 changed files with 2 additions and 3 deletions

View File

@@ -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);
}