public List <PlayHistoryViewModel> GetCurrentlyQueued() { var repo = _uow.GetRepo <PlayHistory>(); return(repo.GetByQuery(i => !i.PlayCompleted) .Where(i => i.IsPlaying.Equals(false)) .Select(i => i.ToModel()).ToList()); }
public List <JukeBoxViewModel> GetJukeBoxTracks() { var repo = _uow.GetRepo <JukeBoxTracks_Result>(); return(repo.ExecWithStoreProcedure("JukeBoxTracks").Select(i => i.ToModel()).ToList()); //test }
public TeamClass(IUow uow) { _uow = uow; _repo = _uow.GetRepo <Team>(); }
public RepositoryVote(IUow uow) { _uow = uow; repo = _uow.GetRepo <Vote>(); }
public RepositoryAlbum(IUow uow) { _uow = uow; repo = _uow.GetRepo <Album>(); }
public RepositoryArtist(IUow uow) { _uow = uow; repo = _uow.GetRepo <Artist>(); }
public RepositoryUser(IUow uow) { _uow = uow; repo = _uow.GetRepo <User>(); }
public RepositoryComment(IUow uow) { _uow = uow; repo = _uow.GetRepo <Comment>(); }
public RepositorySettings(IUow uow) { _uow = uow; repo = _uow.GetRepo <SettingValue>(); }
public RepositoryTrack(IUow uow) { _uow = uow; repo = _uow.GetRepo <Track>(); }
public RepositoryFavourite(IUow uow) { _uow = uow; repo = _uow.GetRepo <Favourite>(); }
public AuthHelper(IUow uow) { _uow = uow; repo = _uow.GetRepo <User>(); }