public List <Address> GetAllAddresses() { return(_addressRepository.GetAllAddresses()); }
// GET: Address public ActionResult Index() { List <Models.AddressModel> addresses = addressRepository.GetAllAddresses(); return(View("Index", addresses)); }
public List <Address> GetAllAddresses() { return(_addressRepository.GetAllAddresses()); }
// GET: Address public ActionResult Index() { List <Models.AddressModel> addresses = addressRepository.GetAllAddresses(); return(View("Index", addresses)); }