コード例 #1
0
        public ActionResult Get_Quality_By_Id(QualityViewModel qViewModel)
        {
            try
            {
                qViewModel.Quality = _qualityMan.Get_Quality_By_Id(qViewModel.Quality.Quality_Id);

                qViewModel.Quality_Application_Mapping_Grid = _qualityMan.Get_Quality_Application_By_Id(qViewModel.Quality.Quality_Id);

                qViewModel.Quality_Market_Segment_Mapping_Grid = _qualityMan.Get_Quality_Market_Segment_By_Id(qViewModel.Quality.Quality_Id);

                qViewModel.Yarn_Types = _qualityMan.Get_Yarn_Types();

                qViewModel.Weaves_Types = _qualityMan.Get_Weave_Types();
            }

            catch (Exception ex)
            {
                Logger.Error("Quality Controller - Get_Quality_By_Id " + ex.ToString());
            }

            return(View("Index", qViewModel));
        }