Exemplo n.º 1
0
        public async Task <ActionResult <IEnumerable <TestDisplay> > > GetTests()
        {
            var bllEntities = await _bll.Tests.FindAllDisplay();

            return(Ok(bllEntities.Select(t => _mapper.MapToApi(t))));
        }