Beispiel #1
0
        public async Task <IActionResult> Edit(Part partModel)
        {
            if (partModel.Name == null)
            {
                return(BadRequest());
            }

            Part part = partService.Edit(partModel);

            return(Ok(part));
        }