Exemplo n.º 1
0
        public void GetEquipmentTypeTest()
        {
            var plantSetUpDal = new PlantInfo();
            var result        = plantSetUpDal.GetEquipmentType();

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
        public IHttpActionResult GetEquipmentType()
        {
            var equipmentList = _info.GetEquipmentType();

            if (equipmentList.Count > 0)
            {
                return(Ok(equipmentList));
            }
            return(BadRequest("Equipment list is empty"));
        }