// 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)); }
public UserEczaneOdaDetay Get(int eczaneOdaId) { return(_userEczaneOdaService.GetDetayById(eczaneOdaId)); }