public JsonResult GetNextPortion(long userId, long id) { if (UserLanguages.IsInvalid(_userLanguages)) { return(JsonResultHelper.Error()); } return(_shuffleController.GetPortion(userId, id, uId => _query.GetNextPortion(uId, id, _userLanguages))); }
public JsonResult GetNextPortion(string userUniqueId, long id) { return(_shuffleController.GetPortion(userUniqueId, id, userUnique => _query.GetNextPortion(userUnique, id, _userLanguages))); }