Пример #1
0
        public PartialViewResult Call(int Id)
        {
            CallModel model = new CallModel();

            model.IsAvailable = servicePreference.IsAvailable(Id);
            model.FriendData  = UserFb.Friends.Where(p => p.UserId == Id).SingleOrDefault();

            return(PartialView(model));
        }
Пример #2
0
        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));
        }