Пример #1
0
 public JsonResult GetPrevPortion(long userId, long id)
 {
     if (UserLanguages.IsInvalid(_userLanguages))
     {
         return(JsonResultHelper.Error());
     }
     return(_shuffleController.GetPortion(userId, id,
                                          userUnique =>
                                          _query.GetPrevPortion(userId, id, _userLanguages)));
 }
 public JsonResult GetPrevPortion(string userUniqueId, long id)
 {
     return(_shuffleController.GetPortion(userUniqueId, id,
                                          userUnique =>
                                          _query.GetPrevPortion(userUnique, id, _userLanguages)));
 }