public PartialViewResult RemainingBalance() { CallModel model = new CallModel(); ServiceManager.ServiceHandlers.TiklaAraHandler srvTiklaAra = new ServiceManager.ServiceHandlers.TiklaAraHandler(); model.RemainingBalance = srvTiklaAra.GetRemainingBalance(UserFb.Data.Msisdn); return(PartialView(model)); }
public PartialViewResult Call(int Id) { CallModel model = new CallModel(); model.IsAvailable = servicePreference.IsAvailable(Id); model.FriendData = UserFb.Friends.Where(p => p.UserId == Id).SingleOrDefault(); ServiceManager.ServiceHandlers.TiklaAraHandler srvTiklaAra = new ServiceManager.ServiceHandlers.TiklaAraHandler(); model.RemainingBalance = srvTiklaAra.GetRemainingBalance(UserFb.Data.Msisdn); return(PartialView(model)); }