this is my code in controller
var localrecord = db.spGetTotalRecordsBy3m(accountNUmber).OrderBy(x => x.Date).ToArray();
Now, I want to implement running balance