public ActionResult <Check> CreateMaterial(Check check) { _checkService.AddCheck(check); return(CreatedAtAction("GetMaterial", new { id = check.Id }, check)); }