Пример #1
0
        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);
        }