C# Class Spontaneous.MobileWebApp.Controllers.RestaurantController

Inheritance: Controller
显示文件 Open project: pashkov/Spontaneous

Public Methods

Method Description
RestaurantController ( ) : System

Private Methods

Method Description
AddDish ( ) : System.Web.Mvc.ActionResult
AddDish ( DishModel dish ) : System.Web.Mvc.ActionResult
AddRestaurant ( ) : System.Web.Mvc.ActionResult
AddRestaurant ( RestaurantModel rest ) : System.Web.Mvc.ActionResult
BasicRestMealSummary ( ) : System.Web.Mvc.ActionResult
BasicRestMenu ( ) : System.Web.Mvc.ActionResult
Dish ( ) : System.Web.Mvc.ActionResult
DishEdit ( ) : System.Web.Mvc.ActionResult
DishEdit ( DishModel dish ) : System.Web.Mvc.ActionResult
DishSearch ( string q, double lat, double lng ) : System.Web.Mvc.JsonResult
GetDish ( string id ) : System.Web.Mvc.JsonResult
GetGeneralDishes ( string idsList ) : System.Web.Mvc.JsonResult
GetImage ( string id ) : System.Web.Mvc.ActionResult
Image ( string restId, int menuPartId, int dishId, string imgId, string contentType ) : System.Web.Mvc.ActionResult
MealSummary ( ) : System.Web.Mvc.ActionResult
Menu ( ) : System.Web.Mvc.ActionResult
MenuIscroll ( ) : System.Web.Mvc.ActionResult
Preview ( ) : System.Web.Mvc.ActionResult
Restaurant ( string id ) : System.Web.Mvc.JsonResult
RestaurantInfo ( ) : System.Web.Mvc.ActionResult
UpdateDishCarbs ( string restournatId, int menuPartId, int dishId, double totalCarbohydrate, bool isCarbBlame = false ) : void
UpdateRestaurantInfo ( RestaurantModel rest ) : System.Web.Mvc.ActionResult
Upload ( string restId, int menuPartId, int dishId ) : void
UploadRestImage ( string restId ) : void
WaiverApprove ( bool approve ) : System.Web.Mvc.ActionResult

Method Details

RestaurantController() public method

public RestaurantController ( ) : System
return System