public IActionResult Update([FromBody] KgValue obj) { try { return(Ok(_logic.Update(obj))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public bool Update(KgValue obj) { return(_unitOfWork.IKgValue.Update(obj)); }
public int Insert(KgValue obj) { return(_unitOfWork.IKgValue.Insert(obj)); }