a guest Sep 22nd, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public int Calculate() {
  2.   var inputs = ReadFromDatabase();
  3.   var outputs = DoWork();
  4.   //Where Modification needs to be introduced
  5.   UpdateDatabase(outputs);
  6.   return outputs.Sum(i => i.Value);
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand