public ActionResult AvailSvc(string json, long id, byte entityType)
        {
            Availability avail = json != null?JsonConvert.DeserializeObject <Availability>(json) : null;

            return(Json(ScheduleDB.Availability(id, entityType, avail, GetConfiguration().GetConnectionString(DEFAULT_CONNECTION))));
        }