public IEnumerable <Member> GetMembers() { if (_membersRepository.GetMembers() == null) { throw new KeyNotFoundException("No members in list"); } return(_membersRepository.GetMembers()); }
public List <Member> GetAllMembers() { return(_repo.GetMembers()); }
public IEnumerable <Member> GetAllMembers() { return(_membersRepository.GetMembers()); }
IList <Member> IMembersQuery.GetMembers(IEnumerable <Guid> ids) { return(_repository.GetMembers(ids)); }
public IActionResult Index() { List <Member> members = _repo.GetMembers(); return(View(members)); }
public ActionResult <IEnumerable <Member> > GetAllMembers() { return(StatusCode(200, _membersRepository.GetMembers())); }