public int Update(int id, PurchaseUpdateApiModel updated) { return(_purchaseContext.Update(id, updated)); }