public void Put(int id, [FromBody] LocationInfo value) { LocationInfo entity = _unitOfWork.LocationInfos.Get(id); if (entity != null) { entity.Update(value); _unitOfWork.Commit(); } }
public void Put(int id, [FromBody] LocationInfo value) { LocationInfo entity = _unitOfWork.LocationInfos.Get(id); if (entity != null) { entity.Update(value); _unitOfWork.Commit(); } }