常用方法
常用方法
常用方法
常用方法
public ActionResult Genres(string user) { var model = new MovieModel { Genres = _movie.GetGenreAll(), LoggedIn = user != null ? true : false, User = (user != null ? true : false) == true?_account.GetUserDetails(user) : null }; return(View(model)); }