Beispiel #1
0
 public IHttpActionResult Post(SearchAddress sa)
 {
     return(Ok(FoundAddress.Find(sa)));
 }
Beispiel #2
0
 public List <FoundAddress> Search(int house, string street)
 {
     return(FoundAddress.Find(house, street));
 }
Beispiel #3
0
        //// GET: api/Evac
        //public IEnumerable<string> Get()
        //{
        //    return new string[] { "value1", "value2" };
        //}

        //// GET: api/Evac/5
        //public string Get(int id)
        //{
        //    return "value";
        //}

        // POST: api/Evac
        public List <FoundAddress> Post(SearchAddress sa)
        {
            return(FoundAddress.Find(sa));
        }