[HttpPost]//Use this for adding new Records.... public bool AddNewEmployee([FromBody] Employee emp) { string line = emp.ToString(); dataComponent.InsertRecord(line); return(true); }
[HttpPost]//Use this for adding new Records.... public bool AddNewEmployee([FromBody] Employee emp) { string line = emp.ToString(); dataComponent.InsertRecord(line); return(true); }