public string Sua(NiemYetGIGCThanhPham bangGia)
        {
            var config = new MapperConfiguration(cfg => cfg.CreateMap <NiemYetGIGCThanhPham, NiemYetGiaInGiaCongThanhPhamBDO>());
            var mapper = config.CreateMapper();
            var objBDO = mapper.Map <NiemYetGiaInGiaCongThanhPhamBDO>(bangGia);

            logic.Sua(objBDO);

            return("Sửa xong");
        }
        public string Them(NiemYetGIGCThanhPham bangGia)
        {
            var config = new MapperConfiguration(cfg => cfg.CreateMap <NiemYetGIGCThanhPham, NiemYetGiaInGiaCongThanhPhamBDO>());
            var mapper = config.CreateMapper();
            var objBDO = mapper.Map <NiemYetGiaInGiaCongThanhPhamBDO>(bangGia);

            //Thêm
            if (objBDO != null)
            {
                logic.Them(objBDO); //Thành công Mapper được
            }
            return("Đã thêm");
        }