public NegotiatedContentResult <string> Post([FromBody] Tech tech) { if (_Connector.SanatizeCheck(tech.Info())) { _Connector.Connect(); string command = $"INSERT INTO tech(FirstName, LastName, JobRole, Email, PhoneNumber, IsWorking) VALUES({tech.Info()})"; MySqlCommand execute = new MySqlCommand(command, _Connector.database); _Connector.Disconnect(); return(Content(HttpStatusCode.OK, "")); } else { return(Content(HttpStatusCode.Unauthorized, "Anti-Sql Injection Check failed")); } }