public ActionResult <ProductInstanceModel> GetInstance(long id) { if (id == 0) { return(BadRequest($"Id was 0")); } var productInstance = _productManagement.GetInstance(id); if (productInstance == null) { return(NotFound()); } return(_productConverter.ConvertProductInstance(productInstance)); }