public async Task <ServiceResponse> UpdateEntity(tb_DictionaryType entity)
        {
            byte[] bytes = await Server.UpdateEntityByDicAsync(ZipTools.CompressionObject(entity));

            ServiceResponse response = ZipTools.DecompressionObject(bytes) as ServiceResponse;

            return(response);
        }
        public async Task <ServiceResponse> GetModels(tb_DictionaryType search)
        {
            var bytes = await Server.GetModelsByDicAsync(ZipTools.CompressionObject(search));

            ServiceResponse response = ZipTools.DecompressionObject(bytes) as ServiceResponse;

            return(response);
        }
        public async Task <ServiceResponse> GetPagingModels(int pageIndex, int pageSize, tb_DictionaryType search, bool Asc = false)
        {
            var bytes = await Server.GetPagingModelsByDicAsync(pageIndex, pageSize, ZipTools.CompressionObject(search), Asc);

            ServiceResponse response = ZipTools.DecompressionObject(bytes) as ServiceResponse;

            return(response);
        }