public IActionResult AddProducer(Producer prod) { try { db1.AddProducer(prod); } catch { return BadRequest(); } return Ok(); }