public void Put([FromBody]LocationCoreEntity objLocationCoreEntity) { LocationCore objLocationCore = new LocationCore(); using (objLocationCore as IDisposable) { objLocationCore.Edit(ref objLocationCoreEntity); } objLocationCore = null; }