public ActionResult Edit(long id)
        {
            AccountValueViewModel model = new
                                          AccountValueViewModel(service.GetSingle(id.ToString(), AuthenticationHelper.User.CompanyId));

            model.SetOfBook = sobService.GetSingle(accountService.GetSingle(model.ChartId.ToString(), AuthenticationHelper.User.CompanyId).SOBId.ToString(), AuthenticationHelper.User.CompanyId).Name;
            return(View(model));
        }
 public static AccountValueViewModel GetAccountValue(string id)
 {
     return(new AccountValueViewModel
                (service.GetSingle(id, AuthenticationHelper.CompanyId.Value)));
 }