public dynamic GetAllParties()
        {
            PartyRepository repo        = new PartyRepository();
            var             listParties = repo.GetAllParties();

            return(listParties);
        }
 // GET: api/Parties
 public ICollection <Party> GetParties()
 {
     return(_partyRepository.GetAllParties());
 }
示例#3
0
 public List <Party> GetFirst10Parties()
 {
     return(PartyRepository.GetAllParties().OrderByDescending(x => x.Date).Take(10).ToList());
 }
示例#4
0
 public List <Party> GetIncomingParties()
 {
     return(PartyRepository.GetAllParties());
 }
示例#5
0
 public List <PartyTable> GetAllParties(long ownerId) => _pr.GetAllParties(ownerId);
示例#6
0
 public List <Party> GetAllParties()
 {
     return(partyrepo.GetAllParties());
 }