public IActionResult UpdatePurchaseReturnItem([FromBody] PurchaseReturnItem model) { returnitem_repo.Update(model); return(new OkObjectResult(new { PurchaseReturnItemID = model.PurchaseReturnItemId })); }
public void Update(PurchaseReturnItem PurchaseReturnItem) { _PurchaseReturnItemRepository.Update(PurchaseReturnItem); _UnitOfWork.Commit(); }