public dynamic GetAllParties() { PartyRepository repo = new PartyRepository(); var listParties = repo.GetAllParties(); return(listParties); }
// GET: api/Parties public ICollection <Party> GetParties() { return(_partyRepository.GetAllParties()); }
public List <Party> GetFirst10Parties() { return(PartyRepository.GetAllParties().OrderByDescending(x => x.Date).Take(10).ToList()); }
public List <Party> GetIncomingParties() { return(PartyRepository.GetAllParties()); }
public List <PartyTable> GetAllParties(long ownerId) => _pr.GetAllParties(ownerId);
public List <Party> GetAllParties() { return(partyrepo.GetAllParties()); }