public List <CovidTestModel> GetAll() { try { var result = _covidTestRepository.GetAll(_connectionStrings.Postgresql); return(_mapper.Map <List <CovidTestModel> >(result)); } catch (Exception ex) { throw ex; } }