Exemplo n.º 1
0
        public ActionResult LoadContract(Guid contractId)
        {
            EMPContractViewModel view = emp.LoadContract(contractId);

            return(Json(view, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        public ActionResult ContractSave(Guid Guid, EMPContractViewModel contractViewModel)
        {
            EMPContractViewModel savedContract = emp.SaveContract(Guid, contractViewModel);

            return(Json(savedContract));
        }