示例#1
0
        // GET: EczaneNobet/UserEczaneOda/Details/5
        public ActionResult Details(int id)
        {
            if (id < 0)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            UserEczaneOdaDetay userEczaneOda = _userEczaneOdaService.GetDetayById(id);

            if (userEczaneOda == null)
            {
                return(HttpNotFound());
            }
            return(View(userEczaneOda));
        }
示例#2
0
 public UserEczaneOdaDetay Get(int eczaneOdaId)
 {
     return(_userEczaneOdaService.GetDetayById(eczaneOdaId));
 }