public DSCollumnSettingDTO AddOrUpdate(DSCollumnSettingDTO dSCollumnSettingDTO)
        {
            DSCollumnSetting dSCollumnSetting = mapper.Map <DSCollumnSetting>(dSCollumnSettingDTO);

            if (dSCollumnSetting != null)
            {
                dSCollumnSettingDTO = mapper.Map <DSCollumnSettingDTO>
                                          (dSCollumnSettingRepository.AddOrUpdateDSCollumnSetting(dSCollumnSetting));
            }
            return(dSCollumnSettingDTO);
        }
        public bool RemoveDSCollumnSettingDTO(DSCollumnSettingDTO dSCollumnSettingDTO)
        {
            bool result;

            try
            {
                dSCollumnSettingRepository.RemoveDSCollumnSetting
                    (mapper.Map <DSCollumnSetting>(dSCollumnSettingDTO));
                result = true;
            }catch { result = false; }
            return(result);
        }