public void GetAll_ShouldReturnConstructionMaterials() { // Act var returnedConstructionMaterials = _service.GetAll(); // Assert Assert.Equal(TestData.constructionMaterials, returnedConstructionMaterials); }
public ActionResult <OperatingConditionsDataResponse> GetData() { var envAggressiveness = _envAggressivenessService.GetAll(); var operatingAreas = _operatingAreaService.GetAll(); var gasGroups = _gasGroupService.GetAll(); var constructionMaterials = _constructionMaterialService.GetAll(); var paintworkTypes = _paintworkTypeService.GetAll(); var highTensileBoltsTypes = _highTensileBoltsTypeService.GetAll(); return(Ok(new OperatingConditionsDataResponse( envAggressiveness, operatingAreas, gasGroups, constructionMaterials, paintworkTypes, highTensileBoltsTypes ))); }