C# 클래스 BistroDriveWebApp.Controllers.ProfileController

상속: Controller
파일 보기 프로젝트 열기: PI-13-5/BistroDriveWebApp

공개 메소드들

메소드 설명
Dish ( string id ) : System.Web.Mvc.ActionResult
DishInfo ( int id ) : System.Web.Mvc.ActionResult
Index ( string id ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
AddDish ( ) : System.Web.Mvc.ActionResult
AddDish ( DishViewModel model, System.Web.HttpPostedFileBase image ) : System.Web.Mvc.ActionResult
AddDishFeedback ( DishReviewViewModel model ) : System.Web.Mvc.ActionResult
AddDishFeedback ( int id ) : System.Web.Mvc.ActionResult
AddUserReview ( UserReviewViewModel model ) : System.Web.Mvc.ActionResult
AddUserReview ( string id ) : System.Web.Mvc.ActionResult
CloseOrder ( OrderDitailViewModel model ) : System.Web.Mvc.ActionResult
DeleteDish ( int id ) : System.Web.Mvc.ActionResult
DeleteDishReview ( int id ) : System.Web.Mvc.ActionResult
DeleteReview ( int id ) : System.Web.Mvc.ActionResult
EditDish ( DishViewModel model, System.Web.HttpPostedFileBase image ) : System.Web.Mvc.ActionResult
EditDish ( int Id ) : System.Web.Mvc.ActionResult
EditDishReview ( DishReviewViewModel model ) : System.Web.Mvc.ActionResult
EditDishReview ( int id ) : System.Web.Mvc.ActionResult
EditReview ( UserReviewViewModel model ) : System.Web.Mvc.ActionResult
EditReview ( int id ) : System.Web.Mvc.ActionResult
GetUser ( string userName = null ) : aspnetuser

Получение запрашиваемого пользователя, если запрос несуществующий возвратит Null

Order ( ) : System.Web.Mvc.ActionResult
OrderInfo ( int id = -1 ) : System.Web.Mvc.ActionResult
SaveFile ( System.Web.HttpPostedFileBase file, string folder, string old_file = null ) : string

Сохроняет файл с HttpPost потока

SetOrderStatus ( OrderDitailViewModel model ) : System.Web.Mvc.ActionResult

메소드 상세

Dish() 공개 메소드

public Dish ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

DishInfo() 공개 메소드

public DishInfo ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

public Index ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult