public ActionResult <Laptop> GetLaptop(int LaptopId) { Laptop Result = _laptopService.GetLaptop(LaptopId); if (Result == null) { return(NotFound(LaptopId)); } return(Ok(Result)); }
public ActionResult <Laptop> GetLaptop(int LaptopId) { Laptop Result = _laptopService.GetLaptop(LaptopId); if (Result == null) { return(NotFound(LaptopId)); } return(Ok(Result)); }