Class ScheduleZoneController
Namespace: Ayuda.BMS.Splash.Areas.Pi.Controllers
Methods
Create(ScheduleZoneModel)
Creates a schedule zone using the specified parameters.
Declaration
public ActionResult Create(ScheduleZoneModel model)
Parameters
Type | Name | Description |
---|---|---|
ScheduleZoneModel | model | Model of the schedule zone to be created. |
Returns
Type | Description |
---|---|
System.Web.Mvc.ActionResult | The ID associated with the new schedule zone schedule, if successfully created. |
Delete(Guid)
Deletes the schedule zone as specified by the id.
Declaration
public JsonResult Delete(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | ID of the schedule zone to be deleted. |
Returns
Type | Description |
---|---|
System.Web.Mvc.JsonResult | A Json encoded boolean. true if the deletion was successful, false if not. |