public void GetEquipmentTypeTest() { var plantSetUpDal = new PlantInfo(); var result = plantSetUpDal.GetEquipmentType(); Assert.IsNotNull(result); }
public IHttpActionResult GetEquipmentType() { var equipmentList = _info.GetEquipmentType(); if (equipmentList.Count > 0) { return(Ok(equipmentList)); } return(BadRequest("Equipment list is empty")); }