public JsonResult AgregarNuevoHorarioPersonal(RL_HorarioPersonal h) { try { bd.sp_ins_RL_HorarioPersonal(h.nHoPId, h.nDiaId, h.nUsuId, h.cHoPInicio, h.cHoPFinal, "GMT"); return(Json(0, "application/json; charset=utf-8", JsonRequestBehavior.AllowGet)); } catch { return(Json(1, "application/json; charset=utf-8", JsonRequestBehavior.AllowGet)); } }
public JsonResult BorrarHorarioPersonal(RL_HorarioPersonal h) { try { bd.sp_del_RL_HorarioPersonal(h.nHoPId); return(Json(0, "application/json; charset=utf-8", JsonRequestBehavior.AllowGet)); } catch { return(Json(1, "application/json; charset=utf-8", JsonRequestBehavior.AllowGet)); } }