예제 #1
0
        public ActionResult <PoliceStationDto> Get(int id)
        {
            var thePoliceStation = mPoliceStationManagement.FindById(id);

            if (thePoliceStation != null)
            {
                return(thePoliceStation);
            }

            return(null);
        }
예제 #2
0
        // GET: PoliceStation/Details/5
        public ActionResult Details(int id)
        {
            var thePoliceStation = mPoliceStationManagement.FindById(id);

            return(View(thePoliceStation));
        }