public List <Address> GetAllAddresses()
 {
     return(_addressRepository.GetAllAddresses());
 }
Ejemplo n.º 2
0
        // GET: Address
        public ActionResult Index()
        {
            List <Models.AddressModel> addresses = addressRepository.GetAllAddresses();

            return(View("Index", addresses));
        }