public async Task <ActionResult <IEnumerable <TestDisplay> > > GetTests() { var bllEntities = await _bll.Tests.FindAllDisplay(); return(Ok(bllEntities.Select(t => _mapper.MapToApi(t)))); }
public async Task <ActionResult <IEnumerable <TestDisplay> > > GetTests() { var bllEntities = await _bll.Tests.FindAllDisplay(); return(Ok(bllEntities.Select(t => _mapper.MapToApi(t)))); }