Example #1
0
        public ActionResult ClosingAppraisalProcess(Int64 AppraisalProcessId)
        {
            Int64 result = 0;

            MTSHRDataLayer.Appraisal data = new MTSHRDataLayer.Appraisal();
            try
            {
                result = data.ClosingAppraisalProcess(AppraisalProcessId);
                if (result > 0)
                {
                    result = 1;
                }
                else
                {
                    result = 0;
                }
            }
            catch (Exception e)
            {
                BaseExceptionHandler.HandleException(ref e);
            }
            return(Json(new { result = result }));
        }