public bool Update([FromBody] Materials value) { try { return(db.Update(value)); } catch (Exception) { throw; } }