/// <summary>
        /// MTO : Edit Material information(PopUP info)
        /// </summary>
        /// <param name="componentId">componentId</param>
        /// <returns></returns>
        public SigmaResultType ListMTOComponent(string componentId)
        {
            SigmaResultType result = new SigmaResultType();
            try
            {
                var queryStr = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters;

                ImportCivilMgr ImportCivilMgr = new ImportCivilMgr();
                result = ImportCivilMgr.ListMTOByComponent(componentId);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }
        public SigmaResultType MultiCivilMTO(List<TypeMTO> listObj)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                ImportCivilMgr ImportCivilMgr = new ImportCivilMgr();
                result = ImportCivilMgr.MultiCivilMTO(listObj);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }
        /// <summary>
        /// Data > ImportMTO > List After Import Excel MTO
        /// </summary>
        /// <param name="ImportHistoryId"></param>
        /// <returns></returns>
        public SigmaResultType ListComponentsByImportHistoryId(string ImportHistoryId)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                var queryStr = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters;
                string max = queryStr["max"];
                string offset = queryStr["offset"];
                string s_option = queryStr["s_option"];
                string s_key = queryStr["s_key"];
                string o_option = queryStr["o_option"];
                string o_desc = queryStr["o_desc"];

                ImportCivilMgr ImportCivilMgr = new ImportCivilMgr();
                result = ImportCivilMgr.ListComponentsByImportHistoryId(ImportHistoryId, offset, max, s_option, s_key, o_option, o_desc);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }