public IHttpActionResult Post(Schedule schedule) { try { var Mngr = new ScheduleManager(); Mngr.Create(schedule); ApiResponse ApiResp = new ApiResponse { Message = "Horario registrado exitosamente" }; return(Ok(ApiResp)); } catch (BusinessException bex) { return(InternalServerError(new Exception(bex.ExceptionId + "-" + bex.AppMessage.Message))); } }