public async Task <ActionResult <PersonViewModel> > GetPerson(int id) { var bl = new PersonBL(this._repository, this._mapper); var person = await bl.GetPersonFullModel(id); if (person == null) { return(NotFound()); } return(person); }