public async Task <IActionResult> CreatePart(Part part)
        {
            if (!ModelState.IsValid)
            {
                return(await ReturnViewWithPostPutVM());
            }

            await warehouseService.AddPart(part);

            return(RedirectToAction("Index"));
        }