Esempio n. 1
0
        /// <summary>
        /// Getting installation memo for view
        /// </summary>
        /// <param name="ContractProjectCode"></param>
        /// <returns></returns>
        public ActionResult CMS180_GetInstallationMemoForview(string ContractProjectCode, string MaintenanceNo, string SlipNo)
        {
            ObjectResultData res = new ObjectResultData();

            try
            {
                IInstallationHandler             hand = ServiceContainer.GetService <IInstallationHandler>() as IInstallationHandler;
                List <dtInstallationMemoForView> lst  = hand.GetTbt_InstallationMemoForView(ContractProjectCode, MaintenanceNo, SlipNo);
                if (lst.Count > 0)
                {
                    res.ResultData = lst;
                }
                //res.ResultData = lst;
            }
            catch (Exception ex)
            {
                res.AddErrorMessage(ex);
            }
            return(Json(res));
        }