public ActionResult InsertService(ushort id, ushort servId) { if (!Authentication.IsValid()) { return(Json(new { Error = "Not Authenticated" })); } PackageDAO.InsertService(id, servId); return(Json(new { Success = "Success" })); }