Esempio n. 1
0
        public ActionResult <Lamp> Get(int id)
        {
            if (id < 1)
            {
                return(BadRequest("Id must be greater then 0"));
            }

            //return _customerService.FindCustomerById(id);
            return(_lampService.FindLampById(id));
        }