public bool IsAccountContainsThisSolo(string email, Guid soloId) { SoloQueriesCommands soloCQ = new SoloQueriesCommands(); AuthQueriesCommands authCQ = new AuthQueriesCommands(); var account = authCQ.GetAccountByEmail(email.ToLower()); if (account == null) { return(false); } var solos = soloCQ.GetAllSolosOf(account); if (solos.Count > 0) { if (solos.Any(rec => rec.SingleTrackDetail.Id == soloId)) { return(true); } else { return(false); } } else { return(false); } }
public List <SoloTrackMaster> GetAllTheSolosOf(string email) { AuthQueriesCommands AuthCQ = new AuthQueriesCommands(); SoloQueriesCommands soloCQ = new SoloQueriesCommands(); return(soloCQ.GetAllSolosOf(AuthCQ.GetAccountByEmail(email))); }
public int UpdateStoreSubmissionStatusForSoloTrack(Guid trackId, int statusCode) { SoloQueriesCommands epCQ = new SoloQueriesCommands(); if (epCQ.UpdateStoreSubmissionStatus(trackId, statusCode) == 1) { return(1); } else { return(0); } }
public List <SoloTrackMaster> GetAllSolosWithTracks() { SoloQueriesCommands soloCQ = new SoloQueriesCommands(); return(soloCQ.GetAllSolosWithTrackDetail()); }