public IHttpActionResult Put(int id, EmployeeInfo emp) { _repository.Put(id, emp); return StatusCode(HttpStatusCode.NoContent); }
public IHttpActionResult Post(EmployeeInfo emp) { _repository.Post(emp); return Ok(emp); }