public ActionResult Create([Bind(Include = "ServicoID,VagaID,ClienteID,FuncionarioID,VeiculoID")] Comanda comanda) { if (ModelState.IsValid) { comanda.FuncionarioID = System.Convert.ToInt32(Session["FuncionarioID"]); comandaService.Create(comanda); return(Json(new { Status = "OK" })); } return(Json(base.ErrorsToJson())); }